Comments (7)
I think I get the point and it would be feasible. The question is more whether we want to add another event to the plugin and maintain it, @cdelmonte-zg ? Anyway, it would probably be a low prio since there are still alternatives to retrigger a build and it sounds like an edge case.
Don't get me wrong, I like the idea behind it of executing a build by human instruction ( in the manner of "Computer, re-run the build" 😉).
Btw (for inspiration), there is a GitHub plugin doing just this: https://github.com/jenkinsci/github-pr-comment-build-plugin/blob/master/README.md
from bitbucket-push-and-pull-request-plugin.
Supported starting from v2.3.3
from bitbucket-push-and-pull-request-plugin.
Hey @ysabri ,
thank you for opening an issue.
Why don't you use tags instead of comments? Or could you provide more background information about your use case?
I don't see this feature to be a general advantage for the broader audience.
from bitbucket-push-and-pull-request-plugin.
Hey @macghriogair,
I am confused about what tags you are referring to. Do you mean Git tags or are there Bitbucket PR tags I'm not aware of.
My use case is for already open PRs that the user wants to run the Jenkins build/s for again.
It happens sometimes for us where a Jenkins build fails due to some configuration problem outside of the source code.
After those problems are fixed, we are forced to either push an empty change commit or close then open the PRs to run the builds on them again.
It would be really nice if we can comment on the PR with something like "build" that would trigger the build/s again.
from bitbucket-push-and-pull-request-plugin.
Yes, I was referring to Git tags (sorry for not being precise).
If you need to re-trigger builds frequently without code changes, this sounds like a problem with your CI pipeline stability. If it happens once in a while, why not trigger the build manually in Jenkins (if your devs have access to it)?
from bitbucket-push-and-pull-request-plugin.
I get what you are saying but here is the deal with our situation.
The devs do have access to the pipelines but we don't expose any way for them to change the Git ref (branch, tag, or committish) as a pipeline parameter. The pipeline runs and deploys to dev by default.
In the case of a PR, the pipeline checks if bitbucket PR is the run cause and then deploys to dedicated env using the PR #. Exposing that to the devs would be confusing and won't work since we have a script that will periodically clean closed PR envs. Moreover, our PR merge is contingent on a build passing on the last commit.
From a normal day to day perspective the feature I am asking for sounds like an exception, but for setting things up, fixing issues and adding new CI functionality, it is really helpful.
I'm also saying this based on the fact that we had it in an older tool that fell out of support.
from bitbucket-push-and-pull-request-plugin.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
from bitbucket-push-and-pull-request-plugin.
Related Issues (20)
- Bitbucket Pull Request Link is broken
- Build status not being communicated to Bitbucket HOT 2
- Multibranch pipeline does not start with PR Creation - webhook works correctly HOT 1
- NullPointerException occurs when webhook triggered HOT 4
- "Single triggered job" option. How does it work? HOT 7
- Pipeline executed from wrong branch when using Lightweight checkout HOT 2
- "Single triggered job" and local option "Single trigged repository" HOT 3
- NullPointerException: BitBucketPPRAction.getType() is null HOT 3
- can't get trigger on push to two branches
- [Request] Documentation on Bitbucket Cloud integration for build status propagation back to BB-cloud HOT 2
- Cannot get multibranch pipelines to trigger on push HOT 11
- bitbucket-push-and-pull-request-plugin stopped working with Bitbucket cloud HOT 8
- bitBucketPPRPluginConfig configuration as code
- Can not checkout merge commit in Jenkins Pipeline HOT 1
- Error making a pull request and the webhook it is trigger
- Upgrading from 2.8.3 to 3.0.2
- Cloud push trigger missing credentials when checking for changes
- ERROR: Could not find credentials entry with ID 'SOME_PIPELINE_PARAM_ID'
- Empty env BITBUCKET_PULL_REQUEST_LINK
- Build Status not propagating to Bitbucket On Prem HOT 1
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 bitbucket-push-and-pull-request-plugin.