You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have created a test pipeline containing such an on-cancel task and when I export it in the Groovy format to see how it would look like in the original source file there is nothing related to this task in the resulted export file, only regular tasks are present. Is it a bug or this kind of task is not supported in the plugin?
In my case it is critical to cleanup after the cancellation of a stage, otherwise next pipelines will fail. And also I can only use the Groovy plugin since I configure parallel matrix jobs in an .each loop which a YAML/JSON plugin wouldn't be able to describe.
Groovy Configuration plugin version: 2.1.3-475
The text was updated successfully, but these errors were encountered:
GoCD pipeline model has a special task which can be run when a stage is cancelled:
https://docs.gocd.org/current/advanced_usage/dev_clean_up_when_cancel.html
I have created a test pipeline containing such an on-cancel task and when I export it in the Groovy format to see how it would look like in the original source file there is nothing related to this task in the resulted export file, only regular tasks are present. Is it a bug or this kind of task is not supported in the plugin?
In my case it is critical to cleanup after the cancellation of a stage, otherwise next pipelines will fail. And also I can only use the Groovy plugin since I configure parallel matrix jobs in an .each loop which a YAML/JSON plugin wouldn't be able to describe.
Groovy Configuration plugin version: 2.1.3-475
The text was updated successfully, but these errors were encountered: