Sverre Moe commented on New Feature JENKINS-27317

Perhaps my configuration is wrong, but the code for parent will not run.

if (manager.buildIsA(MatrixBuild.class)) {

}

It will not enter this if-statement.

On my matrix children (slaves) it will run the code within MatrixRun.class

Building remotely on opensuse-x86_64 in workspace /home/build/jenkins/workspace/myLib
Fetching changes from the remote Git repository
...
Triggering myLib » sles-x86_64
Triggering myLib » opensuse-x86_64
meos-distrib » sles-x86_64 completed with result SUCCESS
meos-distrib » opensuse-x86_64 completed with result SUCCESS
Finished: SUCCESS

I do not want to run the groovy script under sles-x86_64 or opensuse-x86_64.
The script within Groovy Postbuild will run under each of the triggered myLib in this case.

I want something like this:

Triggering myLib » sles-x86_64
Triggering myLib » opensuse-x86_64
meos-distrib » sles-x86_64 completed with result SUCCESS
meos-distrib » opensuse-x86_64 completed with result SUCCESS
Running Groovy script...
Finished: SUCCESS

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 jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to