Is it possible to declare custom
when properties (or generating custom
Let’s say I want to execute build step if commit message contains “BUILD_ME”.
I see possible solutions as:
pipeline: build: image: plugins/docker:latest when: script: check_if_contains_word.sh #note this line
pipeline: build: image: plugins/docker:latest when: event: custom_build_me # note this line
Being able to use such constraints will increase flexibility of pipelines ( like trigger build if only target directory content changed);
Probably it is possible via custom plugin, is it?
P.S. Sorry for formating, not sure how do I add spaces to yml files without cut