-
Type:
Bug
-
Resolution: Cannot Reproduce
-
Priority:
Minor
-
Component/s: workflow-durable-task-step-plugin
The following shell step only works if a space is added after 'bash'.
sh label: 'with bash', script: '''#!/bin/bash if [[ 0 = 0 ]]; then echo ok; else echo bad; fi '''
Without the space the shebang line appears to be ignored.
Having to end a line with a space is very counter-intuitive.