Slackbot
01/13/2023, 10:21 PMChris Lee
01/13/2023, 10:36 PMChristoph Loy
01/13/2023, 10:38 PMChristoph Loy
01/13/2023, 10:42 PMTrevJonez
01/13/2023, 11:03 PMTrevJonez
01/13/2023, 11:03 PMChristoph Loy
01/13/2023, 11:08 PMfrom . This all works fine.
But if one of the analysis tasks is disabled in the build script (e.g. via tasks.get("analysis").enabled = false ), then I still have the tasks output in my file collection. But this output is now old and therefore useless/misleading. Instead, I'd want the output file to disappear from my file collection.
Does this make things more clear?TrevJonez
01/13/2023, 11:09 PMTrevJonez
01/13/2023, 11:10 PMenabled then in your task action:
if(!customEnabled) //delete outputs else // do workChristoph Loy
01/13/2023, 11:11 PMChristoph Loy
01/13/2023, 11:12 PMTrevJonez
01/13/2023, 11:12 PMChristoph Loy
01/13/2023, 11:13 PM