Can task creates an output file


#1

I wrote a task.sh that creates a file containing data in the task input resource. Before exiting, the task.sh “cat” the file and it contains what I expected.
However, when my pipeline finishes, I could not find that file anywhere in the task input resource (a git repo)
I must miss something very basic.
Thank you for your inputs.


#2

hello,
your question already contains the answer :slight_smile: It is because you are creating files in a input. If you want artifacts to persist, they have to be in, well, an output :slight_smile:

See for example http://concoursetutorial.com/basics/task-outputs-to-inputs/


#3

Thank you for the input marco. I’ll also take a look at the example and try it out.