-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Disable automatic release for bitbucket-branch-source-plugin #4226
Conversation
IMO master should be always releasable. So if there are commits/features that you are unsure about then put them on a staging branch and build a test version from there. |
In a CI/CD yes. I want manage this plugin like I do for nodejs/xunit/dependency-check. Use semantic versioning and be able to use gitflow with support branch (if needed, rarely but something "shit happens" as Forrest Gump said)
I should test more PR in parallel switching our production each time. For me it's time consuming. |
So, first, you could just remove the Then, if you want to use gitflow, great, but then why not create a |
This was missing to me, thanks (done with jenkinsci/bitbucket-branch-source-plugin#942)
If I'm allowed to do these settings I could try. Anyway I want disable automatic release because it does not use the maven-release-plugin (3rd point above) |
You're a maintainer of the plugin. You can maintain the plugin as you wish. Just be careful that you are not the only maintainer listed for the plugin, so you might want to make it clear to others what you want to do. Maybe you won't be the only one to cut releases (which is why the CD pipeline is good).
True, but there is no real "reason" to use it. The plugin is in fact just a succession of command. The CD action is almost doing the same thing (https://github.com/jenkins-infra/jenkins-maven-cd-action/blob/master/run.sh) in a different order. |
@nfalco79 I know this is resolved but I wish I thought of it earlier: the plugin is producing incremental builds. This means you should be able to install a build from a pull request, just as if it was released. This without merge the pull request too soon. Have you tried to look this way for your process? |
I know about incremental builds, and they don't solve the above points. Plugin is yet producing incremental builds. |
You do not need to turn off CD-type releases to do that. You just configure the repository to avoid automatic release. This was always possible, but was refined somewhat in jenkins-infra/github-reusable-workflows#32.
A commit will show all the releases it includes. For example jenkinsci/workflow-cps-plugin@82eabc0 links to https://github.com/jenkinsci/workflow-cps-plugin/releases/tag/3996.va_f5c1799f978 through https://github.com/jenkinsci/workflow-cps-plugin/releases/tag/4007.vd705fc76a_34e.
You do not need to release manually in order to create backports. You just create an appropriate branch, push to it, and trigger releases from GHA. https://gist.github.com/jglick/86a30894446ed38f918050c1180483e2 While it is ultimately up to the plugin maintainer to decide how to work, CD versions are generally encouraged and I do not think any of the stated justifications are valid. Perhaps https://www.jenkins.io/doc/developer/publishing/releasing-cd/ is incomplete. |
@nfalco79 FYI https://plugins.jenkins.io/cloudbees-bitbucket-branch-source/releases/ shows https://plugins.jenkins.io/cloudbees-bitbucket-branch-source/releases/#version_933.v7119e94e8f56 as newer than the manual releases, which may be contributing to the confusion in https://community.jenkins.io/t/bitbucket-branch-source-plugin-error/25717?u=jglick |
Thanks, I will release tonorrow a 934.3.1 same as 933.3.1 |
Link to GitHub repository
https://github.com/jenkinsci/bitbucket-branch-source-plugin
I need to disable automatic release becuase:
There are IRC Bot commands for it.