diff options
author | Seshu Kumar M <seshu.kumar.m@huawei.com> | 2020-03-23 11:58:34 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2020-03-23 11:58:34 +0000 |
commit | 41a79000737c08c6eac2b7f6faea747227678bba (patch) | |
tree | 7833d616d77e28ae1455b6caf3fe1b9326096e47 /packages | |
parent | a7f7a879f1ed9b89563495952761de4454a33875 (diff) | |
parent | 2374566dcdd4c1df39c3a0b437db29a61d228a6f (diff) |
Merge "Add HTTPS support between SOL003 Adapter and ETSI"
Diffstat (limited to 'packages')
-rw-r--r-- | packages/docker/pom.xml | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml index b231dedf91..3a9ec375da 100644 --- a/packages/docker/pom.xml +++ b/packages/docker/pom.xml @@ -42,20 +42,20 @@ </goals> <configuration> <source> - println 'Project version: ' + project.properties['so.project.version']; - def versionArray; - if ( project.properties['so.project.version'] != null ) { - versionArray = project.properties['so.project.version'].split('-'); - } + println 'Project version: ' + project.properties['so.project.version']; + def versionArray; + if ( project.properties['so.project.version'] != null ) { + versionArray = project.properties['so.project.version'].split('-'); + } - if ( project.properties['so.project.version'].endsWith("-SNAPSHOT") ) { - project.properties['project.docker.latesttag.version']=versionArray[0] + "-SNAPSHOT-latest"; - } else { - project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest"; - } + if ( project.properties['so.project.version'].endsWith("-SNAPSHOT") ) { + project.properties['project.docker.latesttag.version']=versionArray[0] + "-SNAPSHOT-latest"; + } else { + project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest"; + } - println 'New tag for docker: ' + project.properties['project.docker.latesttag.version']; - </source> + println 'New tag for docker: ' + project.properties['project.docker.latesttag.version']; + </source> </configuration> </execution> </executions> |