aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pom.xml2
-rw-r--r--sdc-os-chef/pom.xml27
2 files changed, 28 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 7e4248aa6a..22d726ede2 100644
--- a/pom.xml
+++ b/pom.xml
@@ -180,7 +180,7 @@
<sonar.inclusions>app/**/*.js,server-mock/**/*.js,src/**/*.js,src/main/**/*.java</sonar.inclusions>
<!--nexus-->
- <nexus.proxy>https://nexus.openecomp.org</nexus.proxy>
+ <nexus.proxy>https://nexus.onap.org</nexus.proxy>
<staging.profile.id>176c31dfe190a</staging.profile.id>
<!--maven-->
<maven.build.timestamp.format>yyyyMMdd'T'HHmm</maven.build.timestamp.format>
diff --git a/sdc-os-chef/pom.xml b/sdc-os-chef/pom.xml
index 1c6d5e6ed5..88bff4e778 100644
--- a/sdc-os-chef/pom.xml
+++ b/sdc-os-chef/pom.xml
@@ -11,6 +11,9 @@
<version>1.1.0-SNAPSHOT</version>
</parent>
+ <properties>
+ <docker.tag>${project.version}-SNAPSHOT-${maven.build.timestamp}</docker.tag>
+ </properties>
<build>
<plugins>
@@ -47,6 +50,12 @@
<profiles>
<profile>
+ <id>docker-staging</id>
+ <properties>
+ <docker.tag>${project.version}-STAGING</docker.tag>
+ </properties>
+ </profile>
+ <profile>
<id>docker</id>
<build>
<plugins>
@@ -134,6 +143,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-backend</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -144,6 +156,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-frontend</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -154,6 +169,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-elasticsearch</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -164,6 +182,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-kibana</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -174,6 +195,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-cassandra</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>
@@ -184,6 +208,9 @@
<build>
<cleanup>try</cleanup>
<dockerFileDir>${project.basedir}/sdc-sanity</dockerFileDir>
+ <tags>
+ <tag>${docker.tag}</tag>
+ </tags>
</build>
</image>