Usage Scenario
Specify build version when manually trigger a build and create a corresponding tag if build is successful
How to Set Up
- Define a job parameter say Build Version in Params & Triggers section:
- Add a step of type Set Build Version to use above param:
- Add a step of type Create Tag to tag the repository with current build version: