-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Last version Jenkins with blue ocean
Those steps are shown as ran, but it haven't. Clicking them just says "this stage has no steps"
This only occurs when a previous stage has failed.
stage('Deploy release') { environment{ ARTIFACT_VERSION = xxx } when { anyOf { branch 'RC' branch 'HOTFIX_*' branch 'HOTFIX-*' } } parallel{ stage('Deploy to RC') { when { anyOf { branch 'RC' branch 'HOTFIX_*' branch 'HOTFIX-*' } } steps { deploy(xxx) } } stage('Deploy to CERT') { when { anyOf { branch 'RC' branch 'HOTFIX_*' branch 'HOTFIX-*' } } steps { deploy(xxx) } } }
I've added "when" everywhere to try to fix it, but it doesn't work. It's clearly using the condition since it doesn't run the deploy script. The error seems to be only in the GUI
This code is in a shared library, I'm not sure if that could be the reason of the error.