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

2016-03-04 Thread florian.oe...@yager.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Florian Oeser commented on  JENKINS-32835 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: abortAllJobs() for Multijob configured from Job DSL is not working  
 
 
 
 
 
 
 
 
 
 
Thanks Daniel for your time and explanation! 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-02-29 Thread florian.oe...@yager.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Florian Oeser updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32835 
 
 
 
  abortAllJobs() for Multijob configured from Job DSL is not working  
 
 
 
 
 
 
 
 
 

Change By:
 
 Florian Oeser 
 
 
 

Environment:
 
 Jenkins 1.646Multijob-plugin 1.20jenkins-job-dsl 1.42 gradle-jenkins-plugin 1.3.2 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-02-29 Thread florian.oe...@yager.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Florian Oeser updated an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32835 
 
 
 
  abortAllJobs() for Multijob configured from Job DSL is not working  
 
 
 
 
 
 
 
 
 

Change By:
 
 Florian Oeser 
 
 
 

Labels:
 
 gradle-jenkins-plugin job-dsl job-dsl-plugin multi-job multijob 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-02-29 Thread florian.oe...@yager.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Florian Oeser commented on  JENKINS-32835 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: abortAllJobs() for Multijob configured from Job DSL is not working  
 
 
 
 
 
 
 
 
 
 
Hey Daniel, 
thanks for your investigation. 
Well then there's only one more plugin which may cause the issue: The Gradle-Jenkins-Plugin which I'm using to update the Jenkins jobs (defined via DSL). I already looked into the code but I can't see anything which could cause the problem (not applying the 'abortAllJobs' parameter). My minimal example: 

 

project(':Test') {
apply plugin: "com.terrafolio.jenkins"

jenkins {
servers {
testing {
[...]
   }
  }

defaultServer servers.testing
jobs {
   "MinimalExample"{
type 'Multijob'
dsl {
 steps {  
phase('Third') {
  phaseJob('JobA') { abortAllJobs(true) }
phaseJob('JobB')
phaseJob('JobC')
}
}
}
}
   }
   }
}
 

 
I'm using the lastest Gradle Jenkins Plugin version 1.3.2 which implicitly uses Job DSL 1.42. 
Thanks in advice, Florian 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-02-15 Thread florian.oe...@yager.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Florian Oeser commented on  JENKINS-32835 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: abortAllJobs() for Multijob configured from Job DSL is not working  
 
 
 
 
 
 
 
 
 
 
Okay then we have an explanation for the Playground but as I wrote in the Environment description I'm using Multijob Plugin 1.20 locally (and Job DSL 1.42) too.  
Snippet:  

 

steps {
   phase("Compile.") {
  phaseJob("${buildPrefix}-Compile-FreeBSD-Release") { configure configureAbortingPhaseJob() }
  phaseJob("${buildPrefix}-Compile-Windows-RelWithDebInfo") { 
 //configure configureAbortingPhaseJob()
 abortAllJobs(true)  
   } 
   }
}   
 

 
leads to this XML for me: 

 

"jenkins-multijob-plugin@1.20">
  [...]
  
	[...]
"jenkins-multijob-plugin@1.20">
  Compile.
  

  wip_mainline-Compile-FreeBSD-Release
  true
  true
  false
  0
  false
  false
  true
  "empty-list"/>
  FAILURE
  false


  wip_mainline-Compile-Windows-RelWithDebInfo
  true
  true
  false
  0
  false
  false
  false
  "empty-list"/>
  FAILURE
  false

  
  SUCCESSFUL

[...]

 

 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins 

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

2016-02-12 Thread florian.oe...@yager.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Florian Oeser commented on  JENKINS-32835 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
  Re: abortAllJobs() for Multijob configured from Job DSL is not working  
 
 
 
 
 
 
 
 
 
 
Hey Daniel, 
Well okay...using a higher version seems to fix the problem which obviously leads to the point that you can't reproduce it. Go to the DSL Playgound which uses 1.42 like me and the XML doesn't include the corresponding node  
When 1.43 get released? 
Cheers, Florian 
 
 
 
 
 
 
 
 
 
 
 
 

 
 Add Comment 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 
 
 

 This message was sent by Atlassian JIRA (v6.4.2#64017-sha1:e244265) 
 
 
 
 
  
 
 
 
 
 
 
 
 
   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2016-02-08 Thread florian.oe...@yager.de (JIRA)
Title: Message Title
 
 
 
 
 
 
 
 
 
 
  
 
 Florian Oeser created an issue 
 
 
 
 
 
 
 
 
 
 

 
 
 
 
 
 
 
 Jenkins /  JENKINS-32835 
 
 
 
  abortAllJobs() for Multijob configured from Job DSL is not working  
 
 
 
 
 
 
 
 
 

Issue Type:
 
  Bug 
 
 
 

Assignee:
 
 Daniel Spilker 
 
 
 

Components:
 

 job-dsl-plugin, multijob-plugin 
 
 
 

Created:
 

 08/Feb/16 2:53 PM 
 
 
 

Environment:
 

 Jenkins 1.646  Multijob-plugin 1.20  jenkins-job-dsl 1.42  
 
 
 

Labels:
 

 job-dsl job-dsl-plugin multi-job multijob 
 
 
 

Priority:
 
  Minor 
 
 
 

Reporter:
 
 Florian Oeser 
 
 
 
 
 
 
 
 
 
 
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") {