Yash Bhardwaj
Yash Bhardwaj

Reputation: 23

How to automate creation of Tags on BitBucket from Jenkins using WebHooks?

Is there any way to to support automatic tag creation on Bitbucket via Jenkins pipeline?

I know how to build a branch a Tag is created or a push is done to the repo.

Upvotes: 0

Views: 3174

Answers (1)

Jetti
Jetti

Reputation: 2458

You can use the Git Publisher addon in the Post-build Actions to do this. It does a lot more than just auto pushing tags but that is what I use it for. Right now, I have it set to push the build number as a tag to the branch that is being used.

Upvotes: 1

Related Questions