[JIRA] [job-dsl-plugin] (JENKINS-24943) add groovy() method to buildWrappers = environmentVariables

2015-03-08 Thread m...@daniel-spilker.com (JIRA)















































Daniel Spilker
 closed  JENKINS-24943 as Fixed


add groovy() method to buildWrappers = environmentVariables
















Change By:


Daniel Spilker
(08/Mar/15 3:00 PM)




Status:


Resolved
Closed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24943) add groovy() method to buildWrappers = environmentVariables

2015-02-14 Thread scm_issue_l...@java.net (JIRA)














































SCM/JIRA link daemon
 commented on  JENKINS-24943


add groovy() method to buildWrappers = environmentVariables















Code changed in jenkins
User: Daniel Spilker
Path:
 docs/Home.md
 docs/Job-reference.md
 job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/toplevel/EnvironmentVariableContext.groovy
 job-dsl-core/src/main/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperEnvironmentVariableContext.groovy
 job-dsl-core/src/test/groovy/javaposse/jobdsl/dsl/helpers/wrapper/WrapperContextSpec.groovy
http://jenkins-ci.org/commit/job-dsl-plugin/5a243151aaad0b2040a502c4499717c3e812069c
Log:
  Merge pull request #374 from CoreMedia/JENKINS-24943

JENKINS-24943 Add groovy option in the wrappers context for the EnvInject Plugin


Compare: https://github.com/jenkinsci/job-dsl-plugin/compare/111d72bd0154...5a243151aaad




























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24943) add groovy() method to buildWrappers = environmentVariables

2015-02-14 Thread m...@daniel-spilker.com (JIRA)















































Daniel Spilker
 resolved  JENKINS-24943 as Fixed


add groovy() method to buildWrappers = environmentVariables
















Will be released in 1.30.





Change By:


Daniel Spilker
(14/Feb/15 11:44 AM)




Status:


InProgress
Resolved





Resolution:


Fixed



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24943) add groovy() method to buildWrappers = environmentVariables

2015-02-12 Thread rolf.geuen...@web.de (JIRA)














































Rolf Geuenich
 commented on  JENKINS-24943


add groovy() method to buildWrappers = environmentVariables















I've got the same problem and I hope it will be added in near future.

Regards
kal



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24943) add groovy() method to buildWrappers = environmentVariables

2015-02-12 Thread m...@daniel-spilker.com (JIRA)















































Daniel Spilker
 assigned  JENKINS-24943 to Daniel Spilker



add groovy() method to buildWrappers = environmentVariables
















Change By:


Daniel Spilker
(12/Feb/15 9:24 PM)




Assignee:


DanielSpilker



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24943) add groovy() method to buildWrappers = environmentVariables

2015-02-12 Thread m...@daniel-spilker.com (JIRA)














































Daniel Spilker
 started work on  JENKINS-24943


add groovy() method to buildWrappers = environmentVariables
















Change By:


Daniel Spilker
(12/Feb/15 9:44 PM)




Status:


Open
InProgress



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24943) add groovy() method to buildWrappers = environmentVariables

2015-02-12 Thread m...@daniel-spilker.com (JIRA)














































Daniel Spilker
 commented on  JENKINS-24943


add groovy() method to buildWrappers = environmentVariables















https://github.com/jenkinsci/job-dsl-plugin/pull/374



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24943) add groovy() method to buildWrappers = environmentVariables

2015-02-03 Thread m...@daniel-spilker.com (JIRA)














































Daniel Spilker
 updated  JENKINS-24943


add groovy() method to buildWrappers = environmentVariables
















Change By:


Daniel Spilker
(03/Feb/15 8:31 PM)




Issue Type:


Bug
Improvement





Assignee:


DanielSpilker



























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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-24943) add groovy() method to buildWrappers = environmentVariables

2014-09-30 Thread stackma...@gmail.com (JIRA)














































Patrick Huber
 created  JENKINS-24943


add groovy() method to buildWrappers = environmentVariables















Issue Type:


Bug



Assignee:


Daniel Spilker



Components:


job-dsl-plugin



Created:


30/Sep/14 10:24 PM



Description:


The EnvInject plugin allows to supply a groovy script under "Build Environment # Inject environment variables to the build process" exactly the same as is already the case further to the top under "Prepare an environment for the run".

Please add the groovy() method to the dsl of buildWrappers { environmentVariables { ... } }. The buildWrappers is critical for me because it's after the scm checkout and I need a reference to the workspace which isn't yet available at the very beginning.

My workaround (in case anyone else runs into this) for now is to use the configure closure on the job along the lines of:


job {
configure { node -
node / buildWrappers / EnvInjectBuildWrapper / info / groovyScriptContent  """
|
|// a ton of groovy stuff
|
|return [ key : value ]
|""".stripMargin()
}
}





Project:


Jenkins



Priority:


Minor



Reporter:


Patrick Huber

























This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira







-- 
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.