diff options
author | Christophe Closset <cc697w@intl.att.com> | 2017-03-07 19:57:33 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@openecomp.org> | 2017-03-07 19:57:33 +0000 |
commit | 9c83a7fc42c615140a61a339c2647b2e8eac9956 (patch) | |
tree | 99175f2453efd95892a49e8ff01090f239f025a9 | |
parent | f207b17cde9c2d7d634ef33f8272bcc96ee3c5e0 (diff) | |
parent | 07efe43f176692b5dff011c97520ed4ee04320fd (diff) |
Merge "Hard-code MSO gerrit url"
-rw-r--r-- | packages/docker/pom.xml | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/packages/docker/pom.xml b/packages/docker/pom.xml index c3b566d5e1..6ca79b70f7 100644 --- a/packages/docker/pom.xml +++ b/packages/docker/pom.xml @@ -18,6 +18,9 @@ <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> + <!-- If the maven profile "docker" is specified the parameter -Dmso.git.url=<MsoGitRepo> must be provided + i.e: mvn clean install -P docker -Dmso.git.url=https://gerrit.openecomp.org/r--> + <mso.git.url>${env.GIT_NO_PROJECT}</mso.git.url> </properties> <build> @@ -35,7 +38,7 @@ </goals> <phase>initialize</phase> <configuration> - <connectionUrl>scm:git:${env.GIT_NO_PROJECT}/mso/chef-repo</connectionUrl> + <connectionUrl>scm:git:${mso.git.url}/mso/chef-repo</connectionUrl> <checkoutDirectory>src/main/docker/docker-files/chef-configs/chef-repo</checkoutDirectory> <scmVersion>master</scmVersion> <scmVersionType>branch</scmVersionType> @@ -50,7 +53,7 @@ </goals> <phase>initialize</phase> <configuration> - <connectionUrl>scm:git:${env.GIT_NO_PROJECT}/mso/mso-config</connectionUrl> + <connectionUrl>scm:git:${mso.git.url}/mso/mso-config</connectionUrl> <checkoutDirectory>src/main/docker/docker-files/chef-configs/mso-config</checkoutDirectory> <scmVersion>master</scmVersion> <scmVersionType>branch</scmVersionType> |