summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuangrongFu <fu.guangrong@zte.com.cn>2017-08-24 15:13:15 +0800
committerGuangrongFu <fu.guangrong@zte.com.cn>2017-08-24 15:13:15 +0800
commit31f4886262c4084ec9d130a8bc3a17863723995e (patch)
tree5b14117fd786483340439a36b0b1a8c6bda748eb
parent0ab31f4e9e13066be37c4d4dc6b5c117a64b9a18 (diff)
Add version.properties
Add version.properties for *-release-version jobs Change-Id: Ibb271beb847ba4e67fe08ba7e5a96322b390c531 Issue-ID: HOLMES-41 Signed-off-by: GuangrongFu <fu.guangrong@zte.com.cn>
-rw-r--r--version.properties13
1 files changed, 13 insertions, 0 deletions
diff --git a/version.properties b/version.properties
new file mode 100644
index 0000000..e2595ba
--- /dev/null
+++ b/version.properties
@@ -0,0 +1,13 @@
+# 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 must be completed with git revision # in Jenkins
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT