Tagging Jenkins builds with git

StackRunner

I have already looked through a few Stack overflow posts on this but I still cannot find an answer.

My company uses Jenkins we have recently moved from SVN to a GIT which is hosted on one of our servers.

With the SVN we were able to select a build we had already made, choose a tag name and tag it then these changes would be added to the repository.

Unfortunately when we tag with git the tag is not pushed up to the repository, also we don't have a way of setting the remote push url.

Any suggestions, I have tried Git publisher + post build step, which is not ideal as we don't want to push a tag for ever build + we would like to have control over the naming scheme of the tag.

Slav

How about this tutorial . Let me know if that helps

Alternatively, you can write your own custom batch or bash script to perform the tag. You can then trigger it on specific builds using Promoted Builds plugin (bundled with default Jenkins installation).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

From Dev

Tagging XCode's Archive builds in Git or another SCM

From Dev

Tagging XCode's Archive builds in Git or another SCM

From Dev

Git tagging with stash and sourcetree

From Dev

Git tagging questions

From Dev

Tagging git submodules with release

From Dev

Git tagging with stash and sourcetree

From Dev

GIT- what is the tagging for in git?

From Dev

Git Publisher tagging earlier revision?

From Dev

What is the sequence for tagging commit in git?

From Dev

Jenkins builds loop list

From Dev

Configuring Qt builds with Jenkins

From Dev

Jenkins with Parallel Builds

From Dev

Triggering builds remotely in Jenkins

From Dev

start jenkins builds parallely?

From Dev

Jenkins discard old builds: days with builds together

From Dev

Promote all builds to master on Jenkins

From Dev

How to use Jenkins parameterized builds?

From Dev

How to remove old builds in jenkins?

From Dev

Jenkins Multiple Builds On Single Job

From Dev

Using Slack to start Jenkins builds

From Dev

Maven builds with wrong JDK on jenkins

From Dev

Jenkins Multiple Builds On Single Job

From Dev

why does Jenkins Subversion Tagging Plugin delete old tags

From Dev

Jenkins delete builds older than latest 20 builds for all jobs

From Dev

Git Tagging & Gitflow: What happens when you merge old commits

From Dev

Jenkins: how to run builds in unique directories

From Dev

Jenkins Builds Fail Using the Gradle Daemon

From Dev

Multiple concurrent builds of the same project in Jenkins

From Java

How to trigger Jenkins builds remotely and to pass parameters