-
Bug
-
Resolution: Unresolved
-
Blocker
-
None
-
Pipeline script runs on Mac OS slave
I have in my Jenkins job a simple Jenkinsfile script that looks as follow:
pipeline { agent { label 'boaz-mac-machine' } stages { stage('Setup automation framework') { steps { echo 'before bash command' sh "ls" echo 'after bash command' } } } }
The problem is that the pipeline stuck/hang on the line where I call sh "ls".
My slave machine is a Mac OS
[JENKINS-64027] [sh command] Job hangs when the pipeline scripts runs simple sh command
Description |
Original:
I have in my Jenkins job a simple Jenkinsfile script that looks as follow: {code:java} pipeline { agent { label 'boaz-mac-machine' } stages { stage('Setup automation framework') { steps { echo 'before bash command' sh ''ls'' echo 'after bash command' } } } } {code} The problem is that the pipeline stuck/hang on the line where I call *sh "ls"* . |
New:
I have in my Jenkins job a simple Jenkinsfile script that looks as follow: {code:java} pipeline { agent { label 'boaz-mac-machine' } stages { stage('Setup automation framework') { steps { echo 'before bash command' sh "ls" echo 'after bash command' } } } } {code} The problem is that the pipeline stuck/hang on the line where I call *sh "ls"* . |
Description |
Original:
I have in my Jenkins job a simple Jenkinsfile script that looks as follow: {code:java} pipeline { agent { label 'boaz-mac-machine' } stages { stage('Setup automation framework') { steps { echo 'before bash command' sh "ls" echo 'after bash command' } } } } {code} The problem is that the pipeline stuck/hang on the line where I call *sh "ls"* . |
New:
I have in my Jenkins job a simple Jenkinsfile script that looks as follow: {code:java} pipeline { agent { label 'boaz-mac-machine' } stages { stage('Setup automation framework') { steps { echo 'before bash command' sh "ls" echo 'after bash command' } } } } {code} The problem is that the pipeline stuck/hang on the line where I call *sh "ls"*. My slave machine is a Mac OS |
Comment | [ If you put screenshot of the console its helpful. ] |
URL | Original: http://mv_core_build1:8080/job/m200-mobile/ |
Resolution | New: Fixed [ 1 ] | |
Status | Original: Open [ 1 ] | New: Closed [ 6 ] |
Resolution | Original: Fixed [ 1 ] | |
Status | Original: Closed [ 6 ] | New: Reopened [ 4 ] |
Status | Original: Reopened [ 4 ] | New: Open [ 1 ] |
Comment | [ Spam comment ] |
Comment |
[ Hello!
It seems that I have similar query, did you get the solution for this? ] |
Comment |
[ Hello,
same issue here and I can't find any solutions. ] |