-
Bug
-
Resolution: Not A Defect
-
Major
-
None
We updated the PTC Integrity Plugin from version 1.18 to version 1.20.
Since then, when we start a build job retrieving project sources from MKS SI then the following error messages appears in Jenkins and the build job stops processing:
>>>
Started by user XYZ
[EnvInject] - Loading node environment variables.
Building on master in workspace d:\Data\Jenkins\jobs\myproject\workspace
FATAL: Null value not allowed as an environment variable: MKSSI_HOST
java.lang.IllegalArgumentException: Null value not allowed as an environment variable: MKSSI_HOST
at hudson.EnvVars.put(EnvVars.java:172)
at hudson.EnvVars.put(EnvVars.java:64)
at hudson.scm.IntegritySCM.buildEnvVars(IntegritySCM.java:538)
at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:915)
at hudson.scm.IntegritySCM.checkout(IntegritySCM.java:685)
at hudson.model.AbstractProject.checkout(AbstractProject.java:1411)
at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:652)
at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:88)
at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:557)
at hudson.model.Run.execute(Run.java:1665)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:46)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:230)
<<<
It's strange but as soon as we make any change in the configuration of the build job then the error disappears. But this method is not a solution when you have dozens of build jobs.
Thank you in advance.