aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-08-09 14:30:39 -0400
committerPamela Dragosh <pdragosh@research.att.com>2017-08-09 14:36:08 -0400
commit68633b2e0435a468c178f65c561267d3d7326ed8 (patch)
treeef941c8dfc83ef5666b1b03e2b809157de72a096
parent7ef1ede8a51eab83a55e24c229f3c8c3ef572c9b (diff)
Include version.properties for release job
The release job failed because it could not find the version.properties file when doing the mvn deploy command. Adding this file so the release job will succeed. Change-Id: I8753e3ba862faa2885948b988835d798b91a6860 Issue-ID: POLICY-139 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
-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 00000000..7f86aa15
--- /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