summaryrefslogtreecommitdiffstats
path: root/installation/admportal
diff options
context:
space:
mode:
Diffstat (limited to 'installation/admportal')
-rw-r--r--installation/admportal/pom.xml16
1 files changed, 6 insertions, 10 deletions
diff --git a/installation/admportal/pom.xml b/installation/admportal/pom.xml
index 1f5c4201..16ac1c9e 100644
--- a/installation/admportal/pom.xml
+++ b/installation/admportal/pom.xml
@@ -40,19 +40,14 @@
println project.properties['sdnc.project.version'];
def versionArray;
if ( project.properties['sdnc.project.version'] != null ) {
- versionArray =
- project.properties['sdnc.project.version'].split('\\.');
+ versionArray =
+ project.properties['sdnc.project.version'].split('\\.');
}
- if (
- project.properties['sdnc.project.version'].endsWith("-SNAPSHOT")
- )
- {
- project.properties['project.docker.latesttag.version']=versionArray[0]
- + '.' + versionArray[1] + "-SNAPSHOT-latest";
+ if (project.properties['sdnc.project.version'].endsWith("-SNAPSHOT")) {
+ project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-SNAPSHOT-latest";
} else {
- project.properties['project.docker.latesttag.version']=versionArray[0]
- + '.' + versionArray[1] + "-STAGING-latest";
+ project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-latest";
}
println 'New Tag for docker:' +
@@ -77,6 +72,7 @@
<dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>
<dockerFile>${basedir}/target/docker-stage/Dockerfile</dockerFile>
<tags>
+ <tag>${project.version}</tag>
<tag>${project.version}-STAGING-${maven.build.timestamp}</tag>
<tag>${project.docker.latesttag.version}</tag>
</tags>