-
New Feature
-
Resolution: Fixed
-
Minor
-
-
git plugin 4.8.0
Currently the GIT Plugin only allows to create pre-defined tags, but not to push all tags created during a build.
- is related to
-
JENKINS-24880 Support publishing a list of tags resolved from an environment variable
-
- Open
-
-
JENKINS-28335 Pipeline step to run Git commands with credentials & tool
-
- In Review
-
- links to
For anyone who's interested, I've found a workaround:
1. Add something like this to your shell script:
2. then add build step Inject environment variables and set Properties File Path to `$WORKSPACE/build.properties`
3. after that, $APP_BUILD_NUMBER is accessible in all build steps as environment variable. Click `Add tag` in Git Publisher (Post-build action) and set tag to push to $APP_BUILD_NUMBER.