I want to run the same job N times in parallel, and pass if failures are 
less than 10% of N.

I have this code to run the parallel jobs:
def paramValues = (1..3)
def testJobs = [] 
for (param in paramValues) { 
  def jobParams = [VALUE: param] 
  def testJob = { 
    // call build 
    build(jobParams, "MyJob") 
  } 
  println jobParams
  testJobs.add(testJob) 
} 
parallel(testJobs)



This code set the BF to FAILURE if any of the parallel runs failed.

I tried this instead:

ignore(FAILURE) {parallel(testJobs)}

This code ignores all FAILURES, so the BF job is always a success.

Any help would be greatly appreciated.


Thanks,
Mohamed


-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-users/b99a6dfc-15e5-4888-8b5c-5530e6f95b0f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to