-
Type:
Bug
-
Resolution: Not A Defect
-
Priority:
Minor
-
Component/s: pipeline
-
None
-
Environment:v4.451
When I upgraded the Jenkins version to 4.451, I found that the pipeline would time out when executing the sh command, and the following error was reported. When I rolled back to the lower version 4.440, this phenomenon became normal.
I started it via docker container.
The echo command is normal, only the sh 'command' form cannot be executed.
pipeline script:
pipeline {
  agent any
  stages {
    stage('Hello') {
      steps {
        sh "echo 'hello'"
        sh "whoami"
        sh '''
        ls /usr/local/
        '''
      }
    }
  }
}
