-
Type:
Bug
-
Resolution: Unresolved
-
Priority:
Minor
-
Component/s: workflow-cps-plugin
-
Environment:redhat linux, jenkins 2.34, Pipeline 2.5
The simplest of scripts to reproduce the issue:
switch ("triggervalue") { Â Â Â case "triggervalue": Â Â Â Â Â Â Â echo "triggervalue match" Â Â Â default: Â Â Â Â Â Â Â echo "Sorry, this does not print..." }
When no other case is triggered, then the default does seem to work.
Â