Issue Type: Bug Bug
Assignee: huybrechts
Components: parameterized-trigger
Created: 16/Jun/14 8:17 AM
Description:

We have a matrix parameterized job with a single string parameter 'ChildJobs' which was designed to get the comma separated list of downstream job names to execute.

As a build step we are using the Parameterized Trigger Plugin builder with its 'Projects to Build' parameter set to ${ChildJobs}.

When a single job name is specified with 'ChildJobs' - all works well. When multiple, comma separated names are specified the following error is generated and the matrix job fails.

---------------------
Started by upstream project "TestChildJobs" build number 6
originally caused by:
Started by user anonymous
[EnvInject] - Loading node environment variables.
Building on master in workspace /jenkins-server/Home/jobs/TestChildJobs/workspace/498111b4
ERROR: Build aborted. Can't trigger undefined projects. -1 of the below project(s) can't be resolved:
> ${ChildJobs}
Check your configuration!
Notifying upstream projects of job completion
Finished: FAILURE
----------------

One note though: all the specified downstream jobs are actually triggered and executed as needed. Only the matrix job's status is set to failure and no other build steps are executed. Not sure if the fact that the job defined as matrix has any impact here.

Environment: Jenkins 1.509 on
Red Hat 4.4.6-4
Parameterized Trigger Plugin v.2.21
Project: Jenkins
Priority: Major Major
Reporter: Vlad Dovlekaev
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