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,080 points
39 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
• 37,320 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
1 answer

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

Yes this is possible. Follow these steps. 1. ...READ MORE

answered Jun 20 in Jenkins by Arvind
• 1,410 points
49 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,870 points
197 views
+1 vote
4 answers
0 votes
1 answer
+13 votes
2 answers
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
333 views
+1 vote
3 answers