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

Pipeline retry clause : expose the retry number

XMLWordPrintable

      When inside the `retry{}` clause, it may be useful to know which attempt number this is (e.g. to `archiveArtifacts` the debug logs under a uniquely named archive). Expose the retry number as a groovy and/or environment variable.

            Unassigned Unassigned
            jimklimov Jim Klimov
            Votes:
            9 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: