Details
-
Bug
-
Status: Reopened (View Workflow)
-
Major
-
Resolution: Unresolved
-
Jenkins 2.41
Durable task plugin 1.13
Centos 6.5
Description
This seems to have broken fairly recently. I have a global PATH environment variable defined in Jenkins as follows:
PATH: /path/to/toolchain/bin:$PATH
Freestyle jobs work with this. An older version of the durable task plugin also worked. After updating to the latest, this pipeline job:
node('master', { echo 'env.PATH=' + env.PATH sh('env') })
results in this output:
[Pipeline] node Running on master in /var/lib/jenkins/workspace/pipeline bug [Pipeline] { [Pipeline] echo env.PATH=/path/to/toolchain/bin:$PATH [Pipeline] sh [pipeline bug] Running shell script nohup: failed to run command ‘sh’: No such file or directory [Pipeline] } [Pipeline] // node [Pipeline] End of Pipeline ERROR: script returned exit code -2 Finished: FAILURE
Attachments
Issue Links
- blocks
-
JENKINS-40734 Shell step cannot use environment variables that contain $$
-
- Resolved
-
- is duplicated by
-
JENKINS-41227 can't run pipline job on older OS
-
- Resolved
-
- is related to
-
JENKINS-41492 Global environment variable help needs update for prepending keys
-
- Open
-
-
JENKINS-40484 Unable to use withMaven() step inside docker container for old versions of Docker
-
- Reopened
-
- relates to
-
JENKINS-45616 Multi-branch pipelines do not interpolate platform environment variables into Jenkins global environment variables
-
- Open
-
-
JENKINS-28990 Node environment variables not recursively expanded
-
- Resolved
-
-
JENKINS-42671 Durable Task 1.13 does not have the compatibleSince definition in POM
-
- Closed
-
- links to
Activity
Field | Original Value | New Value |
---|---|---|
Assignee | Jesse Glick [ jglick ] |
Component/s | durable-task-plugin [ 18622 ] |
Link |
This issue is duplicated by |
Link |
This issue blocks |
Link |
This issue relates to |
Status | Open [ 1 ] | In Progress [ 3 ] |
Labels | regression |
Remote Link | This issue links to "Release notes (Web Link)" [ 15334 ] |
Remote Link | This issue links to "workflow-durable-task-step PR 27 (Web Link)" [ 15335 ] |
Status | In Progress [ 3 ] | In Review [ 10005 ] |
Link | This issue is related to JENKINS-41492 [ JENKINS-41492 ] |
Resolution | Fixed [ 1 ] | |
Status | In Review [ 10005 ] | Resolved [ 5 ] |
Link |
This issue relates to |
Resolution | Fixed [ 1 ] | |
Status | Resolved [ 5 ] | Reopened [ 4 ] |
Labels | regression | blue-pipeline-scrub regression |
Link | This issue relates to JENKINS-45616 [ JENKINS-45616 ] |
Link | This issue is related to JENKINS-40484 [ JENKINS-40484 ] |
Assignee | Jesse Glick [ jglick ] |
Comment |
[ May I request that this be raised to critical? We have many many jobs relying on this working. We are running 9 instances of 2.60.3 running as windows services in PROD on a Windows 2012 R2 box. ] |
Remote Link | This issue links to "CloudBees Internal OSS-1910 (Web Link)" [ 18516 ] |
Labels | blue-pipeline-scrub regression | blue-pipeline-scrub regression triaged-2018-11 |