try using the naginator plugin
On Tue, Sep 3, 2013 at 5:33 PM, Tânia Magalhães <[email protected]>wrote: > Hi! > > Lets say that I have a multi job named A that consists in severall > building steps. > > In one of them I want to execute a python script. This python script needs > to run X times unitl no failures. The thing is that this script is used to > compile some code and normally it does not returns success after first > attempt, it is necessary to run it more times. So I want to run the script > the necessary times until it succeed. > > I can do it using the Parametrized Plugin. I created a job named B and > configured it to trigger build to itself and to do if it fail. But adding a > job configured like this to my multi job A, does not do what I expected. > When the time for job B to run arrives, the first attempt goes well and > since it fails it triggers another build of job B. But for multi job A, > failing the first attempt of job B means that that step failed and does not > consider the following attempts... > > Any ideas??? > > Before anyone suggests, doing this in my python script (something like a > while cycle that runs while it fails) is not a valid solution in the real > scenario. > > Thanks, > Tânia > > -- > You received this message because you are subscribed to the Google Groups > "Jenkins Users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
