Jenkins pipeline - Getting information When Restart Stage

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

XMLWordPrintable

      When restarting a stage, in the console the follwoing output is shown

      Restarted from build #4, stage foobar

      Is there any way to access this information within the restarted build? Eg via ENV variables or globals in the Jenkinsfile?

            Assignee:
            Unassigned
            Reporter:
            Ahmed Itman
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: