Build pipeline plugin can't find downstream job for manual trigger

874 views
Skip to first unread message

Guy Knights

unread,
Jul 14, 2016, 7:04:30 PM7/14/16
to Jenkins Users
In Jenkins 2.7.1 with build-pipeline plugin 1.5.3.1 I'm trying to set a manual downstream trigger for a job using the "Build other projects (manual step)" post-build action, but it can't seem to find any projects in the same folder, and if I type the name in manually it gives me a "No such project" error like so:

No such project ‘CLIENT - Deploy to production’. Did you mean ‘CLIENT - Deploy to production?

As you can see, the name it suggests is the same as the name it says it can't find, which is perplexing. I try copying the name it suggests into the downstream project names box, but it still gives me the same error.

If I use the "Trigger parameterized build on other projects" post-build action instead, it finds all the projects fine and I can use this method, but of course it executes without manual intervention, which is not what I'm after. I used to run Jenkins 1.65 and this worked fine, so I'm wondering if it's a bug related to this new Jenkins version. Does anyone know how to fix this?

Thanks,
Guy

Guy Knights

unread,
Jul 18, 2016, 3:38:58 PM7/18/16
to Jenkins Users
For anyone else dealing with this issue, I found the solution. I recently moved to using folders in Jenkins 2.x, and it's necessary to specify the folder name in the downstream job text field for the post-build action, but only for the manual trigger. I found this info here: https://issues.jenkins-ci.org/browse/JENKINS-34099.

Peter Nelissen

unread,
Feb 1, 2017, 10:59:24 AM2/1/17
to Jenkins Users
What do you mean with the folder? The project name? Pipeline name?

Thanks!
Peter

Guy Knights

unread,
Feb 3, 2017, 1:00:49 PM2/3/17
to jenkins...@googlegroups.com
Right, sorry - I'm using the folders plugin:


That's what I was referring to.

Regards,
Guy

--
You received this message because you are subscribed to a topic in the Google Groups "Jenkins Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/jenkinsci-users/0XUAK0Imvn8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to jenkinsci-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/15f2207c-bf43-46b9-86dd-9f0d80144687%40googlegroups.com.

For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages