diff options
author | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-04-10 16:31:11 -0400 |
---|---|---|
committer | Timoney, Dan (dt5972) <dt5972@att.com> | 2018-04-10 16:31:11 -0400 |
commit | 1bb647923821baa2b10feae0fdd8a5a5f1cc56b5 (patch) | |
tree | 0edd7353bb94c958288dffde9866b9ca1cb69669 /installation | |
parent | 7b539408f00a33e98ebe827a3e6784f427007f57 (diff) |
Fix spacing in groovy scripts
Fixed groovy scripts broken most likely by Eclipse format command.
Change-Id: I7adc83c5d3f1753504b9673d7946ec1deb6663c1
Issue-ID: SDNC-279
Signed-off-by: Timoney, Dan (dt5972) <dt5972@att.com>
Former-commit-id: e00ec90c97a0da9539ba8571c6ef895861323199
Diffstat (limited to 'installation')
-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> |