How to create an artifact as text to be displayed in "Artifacts" tab?

I want to output two sentences after successful build. I need to parse build output, copy text from it and past into Artifact’s tab.
Is it possible?