Change the release process from SNAPSHOT to build number

We are currently using the axion-release plugin to control the release process. Now we would like to leave SNAPSHOT and enter the build number in our release process. So that we can achieve CI.

We are currently using version 1.0.0-SNAPSHOT, and now we need something like 1.0.0-BUILDNUMBER or 1.0.BUILDNUMBER from Jenkins.

Please provide any solution or plugin that we can use with gradle.

+8
jenkins build.gradle gradle-release-plugin
source share
1 answer

I am really pleased with the nebula-release-plugin developed by NetFlix. It can generate a unique version number based on branches and tags in your git repository.

By default, it is calculated using the git thread, but you can reconfigure the behavior. Take a look :)

+1
source share

All Articles