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

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

      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

          [JENKINS-32835] abortAllJobs() for Multijob configured from Job DSL is not working

          Florian Oeser created issue -
          Florian Oeser made changes -
          Labels Original: job-dsl job-dsl-plugin multi-job multijob New: gradle-jenkins-plugin job-dsl job-dsl-plugin multi-job multijob
          Florian Oeser made changes -
          Environment Original: Jenkins 1.646
          Multijob-plugin 1.20
          jenkins-job-dsl 1.42
          New: Jenkins 1.646
          Multijob-plugin 1.20
          jenkins-job-dsl 1.42
          gradle-jenkins-plugin 1.3.2
          Daniel Spilker made changes -
          Resolution New: Not A Defect [ 7 ]
          Status Original: Open [ 1 ] New: Resolved [ 5 ]
          Daniel Spilker made changes -
          Status Original: Resolved [ 5 ] New: Closed [ 6 ]
          R. Tyler Croy made changes -
          Workflow Original: JNJira [ 168527 ] New: JNJira + In-Review [ 209691 ]

            daspilker Daniel Spilker
            foeser Florian Oeser
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: