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

Timeout timer inside a pipeline with a docker stage runs out to soon

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Trivial Trivial

      JenkinsFile:

              stage('Application testcases') {
                agent {
                  dockerfile {
                    label 'master'
                    dir "dockerlocation"
                  }
                }
                steps {
                  timeout(time: 20, unit: 'MINUTES') {
                     sh 'script.sh'

                  }
                }
              }

      Logs:

       

      14:50:43 Timeout set to expire in 20 min
      ...
      [Pipeline] }
      [Pipeline] // timeout
      [Pipeline] }
      14:53:01 $ docker stop --time=1 0f6750852e4f010149cde95cd2d53a42a1ccd6b84b01db1a26bfb12e93b7c151

          [JENKINS-46062] Timeout timer inside a pipeline with a docker stage runs out to soon

          There are no comments yet on this issue.

            Unassigned Unassigned
            roel0 roel postelmans
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: