Fix the bug Jenkins failed. 71/7171/1
authorlizi00164331 <li.zi30@zte.com.cn>
Thu, 10 Aug 2017 03:05:38 +0000 (11:05 +0800)
committerlizi00164331 <li.zi30@zte.com.cn>
Thu, 10 Aug 2017 03:05:38 +0000 (11:05 +0800)
Add the version.properties according to the log of Jenkins.

Change-Id: I986c946c784baac7d826a3b540c446f7725ec34f
Issue-ID: AAI-146
Signed-off-by: lizi00164331 <li.zi30@zte.com.cn>
.gitignore [new file with mode: 0644]
.gitreview [new file with mode: 0644]
version.properties [new file with mode: 0644]

diff --git a/.gitignore b/.gitignore
new file mode 100644 (file)
index 0000000..f402f8c
--- /dev/null
@@ -0,0 +1,6 @@
+.classpath
+.project
+.settings/
+target/
+logs/
+debug-logs/
\ No newline at end of file
diff --git a/.gitreview b/.gitreview
new file mode 100644 (file)
index 0000000..8941ef5
--- /dev/null
@@ -0,0 +1,4 @@
+[gerrit]
+host=gerrit.onap.org
+port=29418
+project=aai/esr-gui.git
diff --git a/version.properties b/version.properties
new file mode 100644 (file)
index 0000000..2391453
--- /dev/null
@@ -0,0 +1,13 @@
+# Versioning variables\r
+# Note that these variables cannot be structured (e.g. : version.release or version.snapshot etc... )\r
+# because they are used in Jenkins, whose plug-in doesn't support\r
+\r
+major=1\r
+minor=0\r
+patch=2\r
+\r
+base_version=${major}.${minor}.${patch}\r
+\r
+# Release must be completed with git revision # in Jenkins\r
+release_version=${base_version}\r
+snapshot_version=${base_version}-SNAPSHOT\r