Slackbot
05/23/2022, 4:46 PMVampire
05/23/2022, 5:16 PMfinalizedBy
is proabably a bad idea.
It is executed always, even if the publish task failed.
If you need to do the custom work, you probably better add a doLast { ... }
action to the existing task that publishes the file, so that it is done as additional action if it otherwise was successful already.Andrew Lethbridge
05/23/2022, 5:17 PMAndrew Lethbridge
05/23/2022, 5:18 PMVampire
05/23/2022, 5:18 PMdependsOn
and finalizedBy
. Then it should be automatically triggered, but only if it was successful.Andrew Lethbridge
05/23/2022, 5:33 PMChris Lee
05/25/2022, 6:49 PMLouis Jacomet
06/01/2022, 10:31 AM