Issue Type: Bug Bug
Assignee: Gregory Boissinot
Components: postbuildscript
Created: 12/Feb/13 10:30 AM
Description:

PostBuildScript gives NullPointerException for matrix child jobs, Works ok for parent job.

From parent log:

Triggering value1
Triggering value2
value1 completed with result SUCCESS
value2 completed with result SUCCESS
[PostBuildScript] - Execution post build scripts.
[workspace] $ /bin/sh -xe /tmp/hudson4750159053349493502.sh
+ echo Post-build action, build step, Execute shell
Post-build action, build step, Execute shell
+ echo PREPARED_ENV_VAR =
PREPARED_ENV_VAR =
+ echo GENERATED_ENV_VAR_FROM_SCRIPT =
GENERATED_ENV_VAR_FROM_SCRIPT =
+ echo INJECTED_ENV_VAR =
INJECTED_ENV_VAR =
Finished: SUCCESS

From child log:
...
[EnvInject] - Script executed successfully.
[value1] $ /bin/sh -xe /tmp/hudson4061121161659393893.sh
+ echo Build, Execute shell
Build, Execute shell
+ echo PREPARED_ENV_VAR =
PREPARED_ENV_VAR =
+ echo GENERATED_ENV_VAR_FROM_SCRIPT = yes
GENERATED_ENV_VAR_FROM_SCRIPT = yes
+ echo INJECTED_ENV_VAR =
INJECTED_ENV_VAR =
Finished: SUCCESS

From system log_
2013-feb-12 11:02:32 hudson.model.Run execute
INFO: magjac-matrix-test #4 main build action completed: SUCCESS

2013-feb-12 11:02:31 hudson.model.Run execute
INFO: magjac-matrix-test » value1 #4 main build action completed: SUCCESS

2013-feb-12 11:02:31 hudson.model.Run execute
INFO: magjac-matrix-test » value2 #4 main build action completed: SUCCESS

2013-feb-12 11:02:31 hudson.model.listeners.RunListener report
VARNING: RunListener failed
java.lang.NullPointerException
at org.jenkinsci.plugins.postbuildscript.PostBuildScriptListener.putLastListPostBuildPublisher(PostBuildScriptListener.java:51)
at org.jenkinsci.plugins.postbuildscript.PostBuildScriptListener.onStarted(PostBuildScriptListener.java:36)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:195)
at hudson.model.Run.execute(Run.java:1552)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)

2013-feb-12 11:02:31 hudson.model.listeners.RunListener report
VARNING: RunListener failed
java.lang.NullPointerException
at org.jenkinsci.plugins.postbuildscript.PostBuildScriptListener.putLastListPostBuildPublisher(PostBuildScriptListener.java:51)
at org.jenkinsci.plugins.postbuildscript.PostBuildScriptListener.onStarted(PostBuildScriptListener.java:36)
at hudson.model.listeners.RunListener.fireStarted(RunListener.java:195)
at hudson.model.Run.execute(Run.java:1552)
at hudson.matrix.MatrixRun.run(MatrixRun.java:146)
at hudson.model.ResourceController.execute(ResourceController.java:88)
at hudson.model.Executor.run(Executor.java:236)

2013-feb-12 11:00:08 hudson.model.Run execute
INFO: magjac-trig-test #3 main build action completed: SUCCESS

Environment: Ubuntu 10.04, Jenkins 1.500, Jenkins Post-Build Script Plug-in 0.10
Project: Jenkins
Priority: Major Major
Reporter: Magnus Jacobsson
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators.
For more information on JIRA, see: http://www.atlassian.com/software/jira

--
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply via email to