Options in jenkins pipeline

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

XMLWordPrintable

      The timeout is not enabled in the retry of the pipeline. I tried the code..when the timeout exceeded, the retry option was working but without timeout.

      stage ('Build') {

      options

      { retry(2) timeout(time: 10, unit: 'MINUTES') }

      steps

      { //code }

      post {
      success

      { //code }

      }
      }

            Assignee:
            Unassigned
            Reporter:
            raji
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: