summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRob Daugherty <rd472p@att.com>2018-08-01 10:09:48 -0400
committerRob Daugherty <rd472p@att.com>2018-08-01 10:09:48 -0400
commit568e98f6835b22e45c2e217da71ef9528d725c94 (patch)
tree2a734f42a7168aba3ee5b8b384c4b93bdb07c84f
parentcef48bebde39c5ed0b41ae81a2ca28ecab4d65f4 (diff)
Fix ArrayIndexOutOfBoundsException in docker build
[ERROR] Failed to execute goal org.codehaus.groovy.maven:gmaven-plugin:1.0:execute (default) on project docker: java.lang.ArrayIndexOutOfBoundsException: 1 Change-Id: Ia1a186ad64d251a01ed03e0e027afca903e4a49e Issue-ID: SO-780 Signed-off-by: Rob Daugherty <rd472p@att.com>
-rw-r--r--packages/docker/pom.xml2
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml
index 5fafb4afd9..f88b8bebfa 100644
--- a/packages/docker/pom.xml
+++ b/packages/docker/pom.xml
@@ -49,7 +49,7 @@
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] + '.' + versionArray[1] + "-STAGING-latest";
+ project.properties['project.docker.latesttag.version']=versionArray[0] + "-STAGING-latest";
}
println 'New tag for docker: ' + project.properties['project.docker.latesttag.version'];