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

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

      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 

            Assignee:
            Unassigned
            Reporter:
            Boaz Warshawsky
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: