summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorxuegao <xue.gao@intl.att.com>2022-11-04 09:44:25 +0100
committerxuegao <xue.gao@intl.att.com>2022-11-04 09:44:25 +0100
commit5e3610cac7331e95cd76bec4fd5253ef743915cf (patch)
tree5c040a7f9ae3cd172ad81c6717175e508baf42a8
parent347b1c864daea16f2f25bd4aafee6dc3a3ee13cb (diff)
Dockerizing simulators
Enable docker push and add version.properties for jenkins. Issue-ID: INT-2162 Signed-off-by: xuegao <xue.gao@intl.att.com> Change-Id: Id4fbb04a76dbdd43498228aecf66eddbc94a9dc9
-rw-r--r--pom.xml4
-rw-r--r--version.properties11
2 files changed, 13 insertions, 2 deletions
diff --git a/pom.xml b/pom.xml
index d88e593..fff3fd6 100644
--- a/pom.xml
+++ b/pom.xml
@@ -151,7 +151,7 @@
<goal>build</goal>
</goals>
</execution>
- <!-- <execution>
+ <execution>
<id>push-images</id>
<phase>deploy</phase>
<goals>
@@ -160,7 +160,7 @@
<configuration>
<image>core-nssmf-simulator</image>
</configuration>
- </execution>-->
+ </execution>
</executions>
</plugin>
</plugins>
diff --git a/version.properties b/version.properties
new file mode 100644
index 0000000..7af8fca
--- /dev/null
+++ b/version.properties
@@ -0,0 +1,11 @@
+###########################################################
+# 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=0
+minor=0
+patch=1
+base_version=${major}.${minor}.${patch}
+release_version=${base_version}
+snapshot_version=${base_version}-SNAPSHOT