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

Options in jenkins pipeline

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not A Defect
    • Icon: Critical Critical
    • _unsorted
    • None
    • jenkins pipeline plugin

      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 }

      }
      }

            Unassigned Unassigned
            rajarajeshwarie raji
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: