summaryrefslogtreecommitdiffstats
path: root/installation/ubuntu
diff options
context:
space:
mode:
Diffstat (limited to 'installation/ubuntu')
-rw-r--r--installation/ubuntu/pom.xml15
1 files changed, 5 insertions, 10 deletions
diff --git a/installation/ubuntu/pom.xml b/installation/ubuntu/pom.xml
index 34b74b96..9b597b3f 100644
--- a/installation/ubuntu/pom.xml
+++ b/installation/ubuntu/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:' +