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