Comments (5)
Ok. I'll look into it. I've been thinking lately that I need to figure out how to do automated functional tests that will actually do commits, etc. Hmmm...
from stash-jenkins-postreceive-webhook.
Ahh... I see the problem. During the pull request merge, a PullRequestMergedEvent is triggered, which is both a PullRequestEvent AND a RepositoryRefsChangedEvent. This means it was still being evaluated by the IsMergeabilityEligibilityFilter. When the canMerge was checked, it threw the exception stating it was already merged.
Looks like the fix is to check if the PullRequest's state is still OPEN in the filter. Will try it out and let you know how it goes.
from stash-jenkins-postreceive-webhook.
Got it fixed. Updated version of the plugin is going out now. 👍
from stash-jenkins-postreceive-webhook.
Thanks!
from stash-jenkins-postreceive-webhook.
Working good for me... thanks Mike!
from stash-jenkins-postreceive-webhook.
Related Issues (20)
- Do not disable trigger Jenkins button after first error HOT 1
- Build only one commit HOT 1
- Documentation link on marketplace page gets DNS error HOT 3
- Bitbucket is unable to trigger jenkins, caused by a wrong url HOT 4
- Webhook to Jenkins is not working after Bitbucket upgrade HOT 1
- Issues in connecting to Jenkins HOT 1
- Support Bitbucket 5.0 HOT 15
- Issue with connecting jenkins HOT 1
- Pull Request Notification no longer firing on Update HOT 1
- Multiple Jenkin Urls for Bitbucket Webhook to Jenkins plugin
- Setup automated build on GitHub HOT 3
- Recently lost the ability to trigger Jenkins builds from PRs HOT 6
- Pull Request ID *NOT* being received by Jenkins HOT 2
- Only build pull requests
- Programmatically add a second JenkinsBase to a stash webhook
- kut
- Configuring webhooks in Jenkins HOT 1
- Ignoring folders not just branches.
- Team Foundation Server Plug-in (Jenkins + TFS) HOT 1
- Jenkins shouldn't trigger for each commit
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stash-jenkins-postreceive-webhook.