-
Bug
-
Resolution: Postponed
-
Minor
-
None
Multijob fails to handle (global) environment variable that is adding value to end of variable eg. for path.
Finally the issue seems to be "minor" but I lefted it open because Multijob was only "project model" to fail on this.
Global properties in system preference:
LD_LIBRARY_PATH
/opt/oracle/instantclient:$LD_LIBRARY_PATH
This is from end to change build name which also fails for OOM heap.
Set build name. 13:36:46 FATAL: Java heap space 13:36:46 java.lang.OutOfMemoryError: Java heap space 13:36:46 at java.util.Arrays.copyOf(Arrays.java:3332) 13:36:46 at java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:124) 13:36:46 at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:448) 13:36:46 at java.lang.StringBuilder.append(StringBuilder.java:136) 13:36:46 at hudson.Util.replaceMacro(Util.java:180) 13:36:46 at hudson.Util.replaceMacro(Util.java:146) 13:36:46 at hudson.EnvVars.resolve(EnvVars.java:343) 13:36:46 at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:886) 13:36:46 at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:225) 13:36:46 at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:216) 13:36:46 at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:208) 13:36:46 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.setDisplayName(BuildNameSetter.java:74) 13:36:46 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter.access$000(BuildNameSetter.java:31) 13:36:46 at org.jenkinsci.plugins.buildnamesetter.BuildNameSetter$1.tearDown(BuildNameSetter.java:64) 13:36:46 at hudson.model.Build$BuildExecution.doRun(Build.java:174) 13:36:46 at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:490) 13:36:46 at com.tikal.jenkins.plugins.multijob.MultiJobBuild$MultiJobRunnerImpl.run(MultiJobBuild.java:136) 13:36:46 at hudson.model.Run.execute(Run.java:1737) 13:36:46 at com.tikal.jenkins.plugins.multijob.MultiJobBuild.run(MultiJobBuild.java:73) 13:36:46 at hudson.model.ResourceController.execute(ResourceController.java:97) 13:36:46 at hudson.model.Executor.run(Executor.java:419) 13:36:59 Notifying upstream projects of job completion
- is related to
-
JENKINS-33239 Environment variable resolves variables recursively
- Open