diff options
-rw-r--r-- | installation/dmaap-listener/pom.xml | 22 | ||||
-rw-r--r-- | installation/ueb-listener/pom.xml | 22 |
2 files changed, 12 insertions, 32 deletions
diff --git a/installation/dmaap-listener/pom.xml b/installation/dmaap-listener/pom.xml index 1921fd35..3dd8ddbc 100644 --- a/installation/dmaap-listener/pom.xml +++ b/installation/dmaap-listener/pom.xml @@ -38,30 +38,20 @@ </goals> <configuration> <source> - println - project.properties['sdnc.project.version']; + println project.properties['sdnc.project.version']; def versionArray; - if ( - project.properties['sdnc.project.version'] - != null ) { + if ( project.properties['sdnc.project.version'] != null ) { versionArray = project.properties['sdnc.project.version'].split('\\.'); } - if - (project.properties['sdnc.project.version'].endsWith("-SNAPSHOT")) + if (project.properties['sdnc.project.version'].endsWith("-SNAPSHOT")) { - project.properties['project.docker.latesttag.version']=versionArray[0] - + '.' + versionArray[1] + - "-STAGING-latest"; + project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-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:' + - project.properties['project.docker.latesttag.version']; + println 'New Tag for docker:' + project.properties['project.docker.latesttag.version']; </source> </configuration> </execution> diff --git a/installation/ueb-listener/pom.xml b/installation/ueb-listener/pom.xml index 45382e41..15a7c36b 100644 --- a/installation/ueb-listener/pom.xml +++ b/installation/ueb-listener/pom.xml @@ -38,30 +38,20 @@ </goals> <configuration> <source> - println - project.properties['sdnc.project.version']; + println project.properties['sdnc.project.version']; def versionArray; - if ( - project.properties['sdnc.project.version'] - != null ) { + if ( project.properties['sdnc.project.version'] != null ) { versionArray = project.properties['sdnc.project.version'].split('\\.'); } - if - (project.properties['sdnc.project.version'].endsWith("-SNAPSHOT")) + if (project.properties['sdnc.project.version'].endsWith("-SNAPSHOT")) { - project.properties['project.docker.latesttag.version']=versionArray[0] - + '.' + versionArray[1] + - "-STAGING-latest"; + project.properties['project.docker.latesttag.version']=versionArray[0] + '.' + versionArray[1] + "-STAGING-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:' + - project.properties['project.docker.latesttag.version']; + println 'New Tag for docker:' + project.properties['project.docker.latesttag.version']; </source> </configuration> </execution> |