Declaring many output files for a task


(Greg) #1

How do I declare more than one output file for a task? it complains “Expected task ‘:myCustomTask’ output files to contain exactly one file, however, it contains 3 files.” when I feed outputs.files with more than one file. The code looks like that:

outputs.files files

Sorry, looks like markdown corrupts the code in a very strange way, so it’s here: http://pastebin.com/ExhMfYte


(Greg) #2

Okay, I figured it out. I used getSingleFile() later in the pipe line.