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
• 15,440 points

2 answers to this question.

0 votes

You can use Jenkins pipeline plugin for this.

This might help you

answered Jul 20, 2018 by Kalgi
• 41,660 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
• 30,620 points
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
+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
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 vote
3 answers