Hi All
I have created a jenkins job M1 using Build Flow Plugin which is calling
jobs C1 and C2
In job C1
I have checked the option This build is parameterized
C1 has Maven Repository Artifact (Property Name = ear-version) and also
also using Artifact Resolver
DSL script in M1
parallel (
{
b = build( "C1", "ear-version": "1245")
ignore(FAILURE) {
build( "C2" )
}
}
)
But it never seems to be running. If I remove both repository artifact and
artifact resolver and call C1 without any parameter, it works fine but its
useless for me
I already tried adding maven repository artifact as parameter in M1 too
but no luck
Error is immediately after "Loading node environment variables" but not
sure whats wrong. How do I know the real cause?
Master job M1 exception
FAILURE
ERROR: Failed to run DSL Script
java.util.concurrent.ExecutionException:
org.codehaus.groovy.runtime.InvokerInvocationException:
com.cloudbees.plugins.flow.JobExecutionFailureException
at java.util.concurrent.FutureTask.report(FutureTask.java:122)
at java.util.concurrent.FutureTask.get(FutureTask.java:188)
at java_util_concurrent_Future$get.call(Unknown Source)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:374)
Caused by: org.codehaus.groovy.runtime.InvokerInvocationException:
com.cloudbees.plugins.flow.JobExecutionFailureException
at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:97)
at java.lang.Thread.run(Thread.java:744)
Caused by: com.cloudbees.plugins.flow.JobExecutionFailureException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
=====================
Child job C1 exception
Started by upstream project "Testing_IBT2_SB_CLOUD_EndToEnd_Deploy" build
number 23
originally caused by:
Started by user Sandeep Chanani
[EnvInject] - Loading node environment variables.
FATAL: null
java.lang.NullPointerException
at
hudson.model.AbstractBuild.getSensitiveBuildVariables(AbstractBuild.java:989)
at
org.jenkinsci.plugins.envinject.service.EnvInjectActionSetter.addEnvVarsToEnvInjectBuildAction(EnvInjectActionSetter.java:43)
at
org.jenkinsci.plugins.envinject.EnvInjectListener.loadEnvironmentVariablesNode(EnvInjectListener.java:84)
at
org.jenkinsci.plugins.envinject.EnvInjectListener.setUpEnvironment(EnvInjectListener.java:39)
at
hudson.model.AbstractBuild$AbstractBuildExecution.createLauncher(AbstractBuild.java:574)
at
hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:494)
at hudson.model.Run.execute(Run.java:1741)
at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
at hudson.model.ResourceController.execute(ResourceController.java:98)
at hudson.model.Executor.run(Executor.java:374)
Notifying upstream projects of job completion
Finished: FAILURE
--
You received this message because you are subscribed to the Google Groups
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-dev/7320d64a-d2bb-4749-b631-75522c76c616%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.