[JIRA] (JENKINS-37701) Manual trigger not running in build pipeline

6 views
Skip to first unread message

pcleary00@gmail.com (JIRA)

unread,
Aug 25, 2016, 5:40:01 PM8/25/16
to jenkinsc...@googlegroups.com
Paul Cleary created an issue
 
Jenkins / Bug JENKINS-37701
Manual trigger not running in build pipeline
Issue Type: Bug Bug
Assignee: Unassigned
Components: build-pipeline-plugin
Created: 2016/Aug/25 9:39 PM
Environment: Jenkins 2.19, Build Pipeline Plugin 1.5.3.1
Priority: Minor Minor
Reporter: Paul Cleary

We are using Folders to manage our build jobs.

The folder structure looks like:

Denis/

So, it is only one level deep.

I am trying to setup a build pipeline. I used the Post Build Action of a "Build other projects (manual)" step.

I set the name of the project to use the folder structure:

/Denis/job-name

Everything appears fine in the Build Pipeline View, but when I click on the "manual trigger" icon, it doesn't run.

Inspecting the Jenkins log I am seeing:

call to /$stapler/bound/02d15e0b-6aab-4b6d-9c5b-9b7d4ea028f4/triggerManualBuild failed
java.lang.IllegalStateException: No upstream trigger found for this projectDenis » denis-publish-portal
	at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.triggerBuild(BuildPipelineView.java:496)
	at au.com.centrumsystems.hudson.plugin.buildpipeline.BuildPipelineView.triggerManualBuild(BuildPipelineView.java:405)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
Add Comment Add Comment
 
This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)
Atlassian logo

pcleary00@gmail.com (JIRA)

unread,
Aug 25, 2016, 8:43:01 PM8/25/16
to jenkinsc...@googlegroups.com
Paul Cleary updated an issue
Change By: Paul Cleary
Environment: Jenkins 2. 19 8 , Build Pipeline Plugin 1.5.3.1

john_lozano2003@yahoo.com (JIRA)

unread,
Sep 16, 2016, 4:30:01 PM9/16/16
to jenkinsc...@googlegroups.com
John Lozano commented on Bug JENKINS-37701
 
Re: Manual trigger not running in build pipeline

Same issue here with jenkins 2.21 and Build Pipeline 1.5.4

derekxlu@gmail.com (JIRA)

unread,
Oct 3, 2016, 10:12:07 AM10/3/16
to jenkinsc...@googlegroups.com
DEREK LU commented on Bug JENKINS-37701

I'm doing the same thing with 2.7.2 with build pipeline plugin 1.5.4 and it works fine.
In Build Other Projects (manual step) specify Downstream Project Names without the leading /, for example
Project/BuildJobs/Manual_Test
if you do Denis/job-name it should work

pcleary00@gmail.com (JIRA)

unread,
Nov 3, 2016, 2:06:01 PM11/3/16
to jenkinsc...@googlegroups.com

I still have the issue with version 2.8 with build pipeline plugin 1.5.4

mikewitters@java.net (JIRA)

unread,
Dec 13, 2016, 3:57:01 PM12/13/16
to jenkinsc...@googlegroups.com

Any movement on this or does anyone have a work around? We're still getting this problem with no known work-around on Jenkins (Cloudbees) version 2.7.20.2 and build plugin version 1.5.6

Thanks,
Mike

alvizu@gmail.com (JIRA)

unread,
Feb 8, 2017, 12:04:01 PM2/8/17
to jenkinsc...@googlegroups.com

See DEREK LU's comment for a work-around:

> In Build Other Projects (manual step) specify Downstream Project Names without the leading /, for example
Project/BuildJobs/Manual_Test

kalyankix@gmail.com (JIRA)

unread,
Feb 12, 2017, 6:50:06 PM2/12/17
to jenkinsc...@googlegroups.com

We ran into the same issue, and had to move the jobs, and pipeline from folders into "global view" to get the manual triggers work. Delivery Pipeline has the same issue as it uses Build Pipeline Plugin.

rdsubhas@gmail.com (JIRA)

unread,
Feb 17, 2017, 5:32:02 AM2/17/17
to jenkinsc...@googlegroups.com

Kalyan Koduru We finally found the problem and its really simple.

Case mismatch when specifying downstream trigger names, really As long as you specify the exact upper/lower case characters (of the whole job path, including folder names) - its fine. But if you specify wrong, it doesn't complain but silently fails when triggering.

derekxlu@gmail.com (JIRA)

unread,
Feb 17, 2017, 8:57:01 AM2/17/17
to jenkinsc...@googlegroups.com
DEREK LU commented on Bug JENKINS-37701

Good to hear that you have it working. It is the Full project name that you can directly copy from the reference job. Once you open the job the Full name (with path) is displayed under the Project <JOB NAME>

rdsubhas@gmail.com (JIRA)

unread,
Feb 17, 2017, 9:03:01 AM2/17/17
to jenkinsc...@googlegroups.com
Subhas Dandapani edited a comment on Bug JENKINS-37701
[~kalyankix] We finally found the problem and its really simple.

Case mismatch when specifying downstream trigger names, really :) As long as you specify the exact upper/lower case characters (of the whole job path, including folder names) - its fine. But if you specify
the case wrong, it doesn't complain in the UI but silently fails when triggering.
Reply all
Reply to author
Forward
0 new messages