[JIRA] (JENKINS-40102) job dsl does not respect pipeline withEnv

2016-12-24 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker closed an issue as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40102  
 
 
  job dsl does not respect pipeline withEnv   
 

  
 
 
 
 

 
Change By: 
 Daniel Spilker  
 
 
Status: 
 Resolved Closed  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-40102) job dsl does not respect pipeline withEnv

2016-12-01 Thread m...@daniel-spilker.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Daniel Spilker resolved as Duplicate  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40102  
 
 
  job dsl does not respect pipeline withEnv   
 

  
 
 
 
 

 
Change By: 
 Daniel Spilker  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Duplicate  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-40102) job dsl does not respect pipeline withEnv

2016-11-30 Thread eam...@ineedarobot.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 eamonn faherty commented on  JENKINS-40102  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: job dsl does not respect pipeline withEnv   
 

  
 
 
 
 

 
 Here is an easy to replicate example: 

 

node() {
withEnv(["WONDERFUL=awesome"]) {
jobDsl scriptText: 'job("something-${WONDERFUL}") {}'
}
}
 

  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
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] (JENKINS-40102) job dsl does not respect pipeline withEnv

2016-11-29 Thread eam...@ineedarobot.co.uk (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 eamonn faherty created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-40102  
 
 
  job dsl does not respect pipeline withEnv   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 Daniel Spilker  
 
 
Components: 
 job-dsl-plugin  
 
 
Created: 
 2016/Nov/29 6:12 PM  
 
 
Priority: 
  Minor  
 
 
Reporter: 
 eamonn faherty  
 

  
 
 
 
 

 
 I expected the following to create an environmental variable named GIT_COMMIT to be available within the scope of the jobs.groovy file: 

 

withEnv(["GIT_COMMIT=foo"]) {
jobDsl additionalClasspath: 'jobs/src/main/groovy', removedJobAction: 'DELETE', removedViewAction: 'DELETE', targets: 'jobs/jobs/jobs.groovy', unstableOnDeprecation: true
}
 

 Instead I get an error: 

 

No such property: GIT_COMMIT for class: jobs