Trigger builds on tag discovery
See original GitHub issueYour checklist for this issue
-
Jenkins version: 2.267
-
Plugin version: 2.9.7
-
Bitbucket cloud
-
Bitbucket server and version
Description
Hey folks,
We started using this plugin extensively, (had some issues with creating multibranch organization scanners that discover tags by default, via configuration as code), but it seems there is no way for the discovered tags to be built automatically.
I was searching related issues here, but only found comments explaining that it is not currently implemented.
Could I request this feature to be added? I was trying to implement this feature myself and create a pull request, but I got lost in the code and don’t know what should be added that triggers the build. (Didn’t really work with Jenkins and its ecosystem before.)
Thanks in advance!
Issue Analytics
- State:
- Created 3 years ago
- Comments:11 (5 by maintainers)
Top Results From Across the Web
trigger jenkins build on tag creation with multibranch pipeline
The pipeline does discover tags that I push which match the filter. And if I click on one to run a build for...
Read more >[JENKINS-47496] No automatic builds for tags
This article clearly states that if we add "Discover tags" to multibranch pipeline, Jenkins will trigger builds when tags are pushed into repo....
Read more >No automatic builds for tags - Jenkins Jira
This article clearly states that if we add "Discover tags" to multibranch pipeline, Jenkins will trigger builds when tags are pushed into repo....
Read more >Declarative pipeline "when" tag is pushed - Google Groups
When used with the Branch API Plugin, tags will show up as a new category. The default configuration of Branch API will not...
Read more >How to trigger Jenkins when new Tags are created
We should enable the Poll SCM build trigger in our pipeline job setting and enter a Schedule. This way, Jenkins will be able...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
So, I gave it another shot and finally managed to make it work. After installing basic-branch-build-strategies plugin, a new section is available in the Team/Project job config. You have to add all 3 strategies:
I’m not sure what happened yesterday, but I might have been playing with plugins too much. This time I tried with a fresh jenkins install and everything worked as expected.
Regards
Looks like that plugin will not work as intended.
https://issues.jenkins.io/browse/JENKINS-64810