diff options
-rw-r--r-- | pom.xml | 2 | ||||
-rw-r--r-- | version.properties | 12 |
2 files changed, 13 insertions, 1 deletions
@@ -37,7 +37,7 @@ under the License. <sonar.skip>false</sonar.skip> <sonar.exclusions>version.py,setup.py</sonar.exclusions> - <maven.build.timestamp.format>yyyyMMdd-HHmm</maven.build.timestamp.format> + <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> <docker.push.registry></docker.push.registry> <skip.docker.build>true</skip.docker.build> <skip.docker.tag>true</skip.docker.tag> diff --git a/version.properties b/version.properties new file mode 100644 index 0000000..2fb9e44 --- /dev/null +++ b/version.properties @@ -0,0 +1,12 @@ +# Versioning variables +# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... ) +# because they are used in Jenkins, whose plug-in doesn't support + +major=1 +minor=1 +patch=0 + +base_version=${major}.${minor}.${patch} + +release_version=${base_version} +snapshot_version=${base_version}-SNAPSHOT |