-
Bug
-
Resolution: Not A Defect
-
Major
-
None
-
Ubuntu-14.04, docker 1.12.1, docker image: jenkins:latest (jenkins 2.7.2), publish-over-ssh 1.14
Hello,
I'm using latest version of Jenkins from official docker repo. And currently it's not possible to execute a code in the bash shell. It always executes in /bin/sh instead (which in Ubuntu is a link to dash shell).
The following code give me - "/bin/sh".
#!/bin/bash echo ${SHELL}
I have tested the same project (a simple freestyle job) on Jenkins 1.65x and it works fine.
[JENKINS-37726] Publish Over SSH plugin: shebang is fully ignored
Description |
Original:
Hello, I'm using latest version of Jenkins from official docker repo. And currently it's not possible to execute a code in the bash shell. It always executes in /bin/sh instead (which in Ubuntu is a link to dash shell). The following code give me - "/bin/sh". {code:bash} #!/bin/bash echo ${SHELL} {code} I have tested the same project (a simple freestyle job) on Jenkins 1.65x and it works fine. |
New:
Hello, I'm using latest version of Jenkins from official docker repo. And currently it's not possible to execute a code in the bash shell. It always executes in /bin/sh instead (which in Ubuntu is a link to dash shell). The following code give me - "/bin/sh". {code} #!/bin/bash echo ${SHELL} {code} I have tested the same project (a simple freestyle job) on Jenkins 1.65x and it works fine. |
Assignee | Original: bap [ bap ] | New: Alex Earl [ slide_o_mix ] |
Resolution | New: Not A Defect [ 7 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Any updates?