Jenkins - identify if build is tagged

0 votes
I have a Jenkins job that is linked to bitbucket and starts with every commit. I want to make another job that listens to the same URL as the first job but gets triggered only if the build is tagged.
Jul 20, 2018 in Jenkins by Hannah
• 14,070 points
47 views

2 answers to this question.

0 votes

You can use Jenkins pipeline plugin for this.

This might help you

https://www.edureka.co/blog/jenkins-pipeline-tutorial-continuous-delivery

answered Jul 20, 2018 by Kalgi
• 40,460 points
0 votes

Set refspec to: +refs/tags/*:refs/remotes/origin/tags/*

branch specifier: **

Under build triggers check Build when a change is pushed to GitHub

answered Oct 25, 2018 by kailash

Related Questions In Jenkins

0 votes
2 answers

How to auto build a job in jenkins if there is any change in code on Github repository?

To automatically run build on code commit, follow ...READ MORE

answered Jul 31 in Jenkins by Sirajul
• 25,700 points
140 views
0 votes
1 answer

Why is it displaying Jenkins build failure for Android app

I think you should try this. Try Uninstalling ...READ MORE

answered Apr 12, 2018 in Jenkins by shubham
• 6,890 points
237 views
+1 vote
4 answers
0 votes
1 answer
+13 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 26, 2018 in DevOps & Agile by DragonLord999
• 8,380 points
152 views
0 votes
1 answer
+1 vote
5 answers

Is it possible to shift or move jobs between two jenkins servers?

There are some Jenkins plugins out there ...READ MORE

answered Oct 25, 2018 in Jenkins by akaash
1,228 views
+1 vote
3 answers