Maven projects ending with

70 views
Skip to first unread message

chni...@gmail.com

unread,
May 30, 2016, 4:06:44 AM5/30/16
to Jenkins Users
We are currenbtly using Jenkins 2.7.
Since the upgrade from 1.647, all Maven-based jobs end with the following message:

...
Set build name.
channel stopped
New build name is ''
ERROR: Processing failed due to a bug in the code. Please report this to jenkins...@googlegroups.com
java.lang.IllegalArgumentException: value shouldn't be null or empty.
	at org.jenkinsci.plugins.EnvironmentVarSetter.setVar(EnvironmentVarSetter.java:44)
	at org.jenkinsci.plugins.EnvironmentVarSetter.setVar(EnvironmentVarSetter.java:35)
	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:77)
	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.access$000(BuildNameSetter.java:31)
	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter$1.tearDown(BuildNameSetter.java:64)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:882)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
	at hudson.model.Run.execute(Run.java:1741)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
project=hudson.maven.MavenModuleSet@2b078cea[tkfclient_(tkfclient)_01_experimental]
project.getModules()=[hudson.maven.MavenModule@1087cf42[tkfclient_(tkfclient)_01_experimental/com.rolotec.iD:tkfclient][tkfclient_(tkfclient)_01_experimental/com.rolotec.iD:tkfclient][relativePath:]]
project.getRootModule()=hudson.maven.MavenModule@1087cf42[tkfclient_(tkfclient)_01_experimental/com.rolotec.iD:tkfclient][tkfclient_(tkfclient)_01_experimental/com.rolotec.iD:tkfclient][relativePath:]
FATAL: value shouldn't be null or empty.
java.lang.IllegalArgumentException: value shouldn't be null or empty.
	at org.jenkinsci.plugins.EnvironmentVarSetter.setVar(EnvironmentVarSetter.java:44)
	at org.jenkinsci.plugins.EnvironmentVarSetter.setVar(EnvironmentVarSetter.java:35)
	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:77)
	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.access$000(BuildNameSetter.java:31)
	at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter$1.tearDown(BuildNameSetter.java:64)
	at hudson.maven.MavenModuleSetBuild$MavenModuleSetBuildExecution.doRun(MavenModuleSetBuild.java:882)
	at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:534)
	at hudson.model.Run.execute(Run.java:1741)
	at hudson.maven.MavenModuleSetBuild.run(MavenModuleSetBuild.java:531)
	at hudson.model.ResourceController.execute(ResourceController.java:98)
	at hudson.model.Executor.run(Executor.java:410)
Sending e-mails to: ...
Finished: FAILURE


Please advice since this is blocking our production.
Kind regards,
Niklas Oscarsson

Daniel Beck

unread,
May 31, 2016, 7:06:04 AM5/31/16
to jenkins...@googlegroups.com

> On 30.05.2016, at 10:06, chni...@gmail.com wrote:
>
> Please advice since this is blocking our production.

Could this be caused by the security update, and you're relying on an undeclared build parameter here?

https://wiki.jenkins-ci.org/display/SECURITY/Jenkins+Security+Advisory+2016-05-11

Reply all
Reply to author
Forward
0 new messages