[JIRA] (JENKINS-57956) Cancel outdated jobs not working properly with multiple jobs ont the same pull request

3 views
Skip to first unread message

bartlomiej.poleszak@gmail.com (JIRA)

unread,
Jun 11, 2019, 7:35:03 AM6/11/19
to jenkinsc...@googlegroups.com
Bartlomiej Poleszak created an issue
 
Jenkins / Bug JENKINS-57956
Cancel outdated jobs not working properly with multiple jobs ont the same pull request
Issue Type: Bug Bug
Assignee: Jakub Bochenski
Components: stash-pullrequest-builder-plugin
Created: 2019-06-11 11:34
Environment: Jenkins ver. 2.180
stash-pullrequest-builder-plugin 1.9
Priority: Minor Minor
Reporter: Bartlomiej Poleszak

The bug (with pull request which resolves it) has been posted some time ago in the old repo issue page: https://github.com/nemccarthy/stash-pullrequest-builder-plugin/issues/121

Issue description by jordijansen:

Hi,

I'm having a issue using the "Cancel outdated jobs" option. I'm having two job definitions that built the same repository (so they get triggered on the same Pull Requests, however they do two completly different things). When I have the option "Cancel outdated jobs" activated it will also cancel the jobs of the other job definition.

For example:
Lets say I have have jobs A and B. I create a PullRequest, Job A is added to the queue. A little while later Job B is added to the queue because it triggers on the same repository/pull request. Job B cancels Job A because the Cancel outdated jobs option is activated.

I think it should only cancel the Jobs that are of the same definition (Job A may only cancel jobs of Job A type).

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

bochenski.kuba+jenkins@gmail.com (JIRA)

unread,
Jun 11, 2019, 10:38:02 AM6/11/19
to jenkinsc...@googlegroups.com
Jakub Bochenski commented on Bug JENKINS-57956
 
Re: Cancel outdated jobs not working properly with multiple jobs ont the same pull request

Bartlomiej Poleszak the repository you mention is abandoned and outside of control of the jenkins project.
Please feel free to re-submit the PR to the official repository at https://github.com/jenkinsci/stash-pullrequest-builder-plugin

This functionality has been moved to StashRepository. We also require some basic unit test coverage for new changes

Reply all
Reply to author
Forward
0 new messages