diff options
author | Timoney, Dan (dt5972) <dtimoney@att.com> | 2018-10-25 09:29:35 -0400 |
---|---|---|
committer | Timoney, Dan (dt5972) <dtimoney@att.com> | 2018-10-25 09:29:58 -0400 |
commit | 80e3241025db5028298050babb4a9fa5013da3d8 (patch) | |
tree | ec0cfe7fc2d5cb6976c798abc9714a520d8d6b58 /installation/admportal/pom.xml | |
parent | 243d1c22bd6f96d360b477c7fdbf05e1283d4fa1 (diff) |
Fix CCSDK docker version
Update CCSDK docker versions used to build SDNC docker containers.
Change-Id: I927eefc2fe24fec88039548123a253d14c73b9a7
Issue-ID: SDNC-486
Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com>
Former-commit-id: 6594205cdf4cad435a0d37d90820e83e14f5ccd5
Diffstat (limited to 'installation/admportal/pom.xml')
-rw-r--r-- | installation/admportal/pom.xml | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/installation/admportal/pom.xml b/installation/admportal/pom.xml index 1edf61ec..0b0959c3 100644 --- a/installation/admportal/pom.xml +++ b/installation/admportal/pom.xml @@ -1,5 +1,6 @@ <?xml version="1.0" encoding="UTF-8"?> -<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" +<project xmlns="http://maven.apache.org/POM/4.0.0" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"> <parent> @@ -20,7 +21,8 @@ <properties> <image.name>onap/admportal-sdnc-image</image.name> <sdnc.project.version>${project.version}</sdnc.project.version> - <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> + <ccsdk.docker.version>0.3-STAGING-latest</ccsdk.docker.version> + <maven.build.timestamp.format>yyyyMMdd'T'HHmmss'Z'</maven.build.timestamp.format> </properties> @@ -41,18 +43,18 @@ 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] + "-STAGING-latest"; + if (project.properties['sdnc.project.version'].endsWith("-SNAPSHOT")) + { + 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> |