Re: Perform Maven Release error in build 1.519

2013-06-27 Thread glsilver...@pssd.com
Problem corrected. I updated to version 1.520 and also updated the Maven Release plugin. That did the trick. On Thursday, June 27, 2013 11:48:59 AM UTC-7, glsil...@pssd.com wrote: > > I'm getting the following error when I do a "Perform Maven Release" and > click on "Schedule Maven Release Build

Perform Maven Release error in build 1.519

2013-06-27 Thread glsilver...@pssd.com
I'm getting the following error when I do a "Perform Maven Release" and click on "Schedule Maven Release Build" button: Status Code: 500Exception: java.lang.ClassCastException: net.sf.json.JSONNull cannot be cast to net.sf.json.JSONObject Stacktrace: javax.servlet.ServletException: java.lang.Cl

Re: EnvInject plugin not passing environment variable to post build action

2013-01-02 Thread glsilver...@pssd.com
This is all nice, but the envinject plugin seems to be the only way to pass parameters between jobs. And, apparently, post build actions, even though they are configured as part of one job, are considered as separate jobs and therefore cannot use the parameters of the original job. The envinject

Re: EnvInject plugin not passing environment variable to post build action

2012-12-31 Thread glsilver...@pssd.com
Correction from my original post: The first part of the stack trace returned in the console is: if (SERVER==null){return null;} if ("qa".equals(SERVER)){ def map = [MYSERVER: "dsiqa2-fed17"] ; return map } if ("newprod1".equals(SERVER)){ def map = [MYSERVER: "newprod1"] ; return map } if ("newpr

EnvInject plugin not passing environment variable to post build action

2012-12-31 Thread glsilver...@pssd.com
I configured my Jenkins (v:1.492) maven job for parameterized builds and to use the following evaluated groovy script: if (SERVER==null){return null;} if ("qa".equals(SERVER)){ def map = [MYSERVER: "dsiqa2-fed17"] ; return map } if ("newprod1".equals(SERVER)){ def map = [MYSERVER: "newprod1"] ;