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
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
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
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
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"] ;