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
• 18,570 points
534 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
• 52,350 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

+1 vote
3 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, 2019 in Jenkins by Sirajul
• 59,170 points
50,086 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
• 7,320 points
973 views
+1 vote
4 answers

Is there a way to change the Jenkins build number while building a job?

If you have access to the script ...READ MORE

answered May 7, 2019 in Jenkins by Atul
22,312 views
0 votes
1 answer
+15 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 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points
1,774 views
+2 votes
1 answer
+3 votes
7 answers

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

Hi, You can copy Jobs in between your ...READ MORE

answered Dec 16, 2020 in Jenkins by MD
• 95,360 points
36,748 views
+1 vote
3 answers
webinar REGISTER FOR FREE WEBINAR X
Send OTP
REGISTER NOW
webinar_success Thank you for registering Join Edureka Meetup community for 100+ Free Webinars each month JOIN MEETUP GROUP