Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-64027

[sh command] Job hangs when the pipeline scripts runs simple sh command

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open (View Workflow)
    • Priority: Blocker
    • Resolution: Unresolved
    • Component/s: pipeline
    • Labels:
      None
    • Environment:
      Pipeline script runs on Mac OS slave
    • Similar Issues:

      Description

      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 

        Attachments

          Activity

          Hide
          boaz_warshawsky Boaz Warshawsky added a comment -

          Hi Tim Jacomb, can you please help me with the issue above? 
          I am stuck on it for already 4 days, and its quite simple thing I think. 

          Show
          boaz_warshawsky Boaz Warshawsky added a comment - Hi Tim Jacomb , can you please help me with the issue above?  I am stuck on it for already 4 days, and its quite simple thing I think. 

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            boaz_warshawsky Boaz Warshawsky
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: