[JIRA] (JENKINS-61825) Additional build occurs

1 view
Skip to first unread message

s3037560@gmail.com (JIRA)

unread,
Apr 6, 2020, 9:48:02 PM4/6/20
to jenkinsc...@googlegroups.com
Kevin Park created an issue
 
Jenkins / Bug JENKINS-61825
Additional build occurs
Issue Type: Bug Bug
Assignee: Unassigned
Attachments: jdepot.sh, Jenkinsfile_Dev-A, Jenkinsfile_Dev-B, multi_pipeline.png
Components: p4-plugin
Created: 2020-04-07 01:47
Priority: Major Major
Reporter: Kevin Park

It is a multibranch pipeline project with Helix Streams as its source. See the attached screen shot (multi_pipeline.png).

 

I have the following trigger, so the trigger will be fired only when there is a submit to //stream/Dev-A/…

 

$ p4 triggers -o | grep -v “^#”

Triggers:

     jenkins change-commit //stream/Dev-A/... “%//depot/jdepot.sh% %change%”

 

jdepot.sh is attached.

 

However, in the following steps, a Jenkins job for another stream path, //stream/Dev-B/… is also fired. 

  • A submit is made to //stream/Dev-B/…
  • No Jenkins job is fired since the submit was not for //stream/Dev-A/…, which is expected.
  • A submit is made to //stream/Dev-A/…
  • A Jenkins job for //stream/Dev-A/… is fired, which is expected.
  • However, a Jenkins job for //stream/Dev-B/… which was previously submitted is also fired.

 

Jenkinsfile for //stream/Dev-A/… and //stream/Dev-B/… are attached. See Jenkins_Dev-A and Jenkins_Dev-B.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.13.12#713012-sha1:6e07c38)
Atlassian logo
Reply all
Reply to author
Forward
0 new messages