abortAllJobs() for Multijob configured from Job DSL is not working

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

XMLWordPrintable

      Hey guys,

      I'm using the job dsl to configure my jobs. I would like to set the "Abort all other job" option of an phasejob (Multijob) via DSL using the abortAllJobs() function which doesn't work. The corresponding node in the configuration XML persits 'false'.

      Configuration via the Job DSL's configure block works anyway.

      phase("PhaseName") {                         
                                  phaseJob("ConfigurationViaConfigure") { configure configureAbortingPhaseJob() }
                                  phaseJob("UsingDSLFeature") {                                 
                                        abortAllJobs(true)                                  
                                  }                           
      

      Anyone else observed this behaviour?

      Cheers,
      Florian

            Assignee:
            Daniel Spilker
            Reporter:
            Florian Oeser
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Resolved:
              Archived: