-
Bug
-
Resolution: Unresolved
-
Minor
-
OS : Red Hat Enterprise Linux 7.4
Java version : OpenJDK 8u252
Jenkins version : 2.249.3 LTS
Installation : CentOS/Fedora/Red Hat
Executors type : Docker Clouds
Pipeline: Nodes and Processes (workflow-durable-task-step) plugin version : 2.36
Reverse proxy : nginx 1.18.0
Browser : Firefox 78.4.1esr (64 bits)OS : Red Hat Enterprise Linux 7.4 Java version : OpenJDK 8u252 Jenkins version : 2.249.3 LTS Installation : CentOS/Fedora/Red Hat Executors type : Docker Clouds Pipeline: Nodes and Processes (workflow-durable-task-step) plugin version : 2.36 Reverse proxy : nginx 1.18.0 Browser : Firefox 78.4.1esr (64 bits)
Hello,
Since the update of Jenkins (2.235.3 LTS) and Pipeline: Nodes and Processes (workflow-durable-task-step) plugin 2.35 to Jenkins (2.2249.3 LTS) and Pipeline: Nodes and Processes (workflow-durable-task-step) plugin 2.36
I have a different behaviour with label of sh steps in Blue Ocean
Before update label was "Shell Script" :
After update the label is composed by a description and a name, the sh script's content is displayed in the description and the label name is "Shell script" :
I tried to use label: 'Hide me' in my sh step but It will change only the label name "Shell script" and not the label description (sh script's content)
I think this behaviour is not normal, maybe due to PR 121 in 2.36 version ?
Please it is possible to fix it or propose an option to choose if we want "Shell script" or sh script's content ?
Thanks,
Best regards,
Steven
This actually might be an issue with the release of workflow-cps 2.85. Can you go to the build page and see if there are any warnings for groovy string interpolation?
Update: you can also click on the shell scripts in Blue Ocean and there will most like be a warning for groovy string interpolation.
Also, just to clarify, I see you have redacted some parts in the shell script, but are there any exposed secrets? I don't mean the variable names, but the actual variable values.