jobs:
- gerrit-maven-stage:
maven-versions-plugin: true
- maven-versions-plugin-set-version: 2.0.0
mvn-pom: location/pom.xml
project-name: gerrit-maven-versions-plugin
:maven-versions-plugin: Whether to call Maven versions plugin or not. (default: false)
:mvn-version: Version of Maven to execute Sonar with.
:mvn-pom: Location of pom.xml.
- :maven-versions-plugin-set-version: Version number to upgrade to.
:mvn-settings: Maven settings.xml file containing credentials to use.
lf-maven-stage
:mvn-opts: Sets MAVEN_OPTS. (default: '')
:mvn-params: Additional mvn parameters to pass to the cli. (default: '')
:mvn-version: Version of maven to use. (default: mvn35)
- :maven-versions-plugin-set-version: New version to use in Maven versions plugin. (default: '')
:ossrh-profile-id: Profile ID for project as provided by OSSRH.
(default: '')
:sign-artifacts: Sign artifacts with Sigul. (default: false)
pom: '{mvn-pom}'
goals: 'versions:set versions:update-child-modules versions:commit -B'
properties:
- - 'newVersion=${{maven-versions-plugin-set-version}}'
+ - 'newVersion=${{release_version}}'
settings: '{mvn-settings}'
settings-type: cfp
global-settings: 'global-settings'
github-url: 'https://github.com'
java-version: openjdk8
maven-versions-plugin: false
- maven-versions-plugin-set-version: ''
mvn-central: false
mvn-global-settings: global-settings
mvn-goals: clean deploy
maven-versions-plugin: '{maven-versions-plugin}'
mvn-version: '{mvn-version}'
mvn-pom: '{mvn-pom}'
- maven-versions-plugin-set-version: '{maven-versions-plugin-set-version}'
mvn-settings: '{mvn-settings}'
- shell: !include-raw-escape: ../shell/maven-patch-release.sh
- lf-maven-build:
--- /dev/null
+---
+fixes:
+ - |
+ This is a variable that does not need to be defined by the users
+ of the jobs. The version needed in this builder step is inherited
+ from versions.properties as "release_version" and it is fixed as
+ that.
+ This also helps teams not having to define this version in 2
+ places and just rely on version.properties.