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

Plugin should expose environment variables to tell how many times naginator has restarted the build

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Fixed
    • Icon: Major Major
    • naginator-plugin
    • None

      I have naginator restarting my build 5 times, after the 5th and final try I need to know that it was the last time it was going to try, so I can do other steps. I would like either naginator to do these steps, or expose an environment variable to say how many times it is going to run, and how many times it has run.

      I have made the modifications, but not being the best java dev, it's ugly. It works, but it's ugly. Unit tests currently fail as well.

      It creates 2 env vars

      NAGINATORCOUNT
      NAGINATORMAXCOUNT

            ikedam ikedam
            aflat aflat
            Votes:
            6 Vote for this issue
            Watchers:
            10 Start watching this issue

              Created:
              Updated:
              Resolved: