conventional-commits-plugin
Introduction
This plugin can be used to determine the next release version based on previous tags and the commit messages used. It calculates the version number based on the format of the commit message. The commit message format used is conventional commits.
Getting started
This plugin can be used in a pipeline in a stage or the environment block. Some examples of this in use are:
In the environment block
pipeline {
agent any
environment {
NEXT_VERSION = nextVersion()
}
stages {
stage('Hello') {
steps {
echo "next version = ${NEXT_VERSION}"
}
}
}
}
Issues
Report issues and enhancements in the Github issue tracker.
Contributing
TODO review the default CONTRIBUTING file and make sure it is appropriate for your plugin, if not then add your own one adapted from the base file
Refer to our contribution guidelines
LICENSE
Licensed under MIT, see LICENSE