summaryrefslogtreecommitdiffstats
path: root/jjb/include-docker-push.sh
diff options
context:
space:
mode:
authorVenkata Harish K Kajur <vk250x@att.com>2017-02-20 15:42:02 +0000
committerVenkata Harish K Kajur <vk250x@att.com>2017-02-20 20:26:24 +0000
commitbaaef367a357915ff05a8a401b257e7db0903fb7 (patch)
tree5c3c800746ba58cf0b447f440d0dd87f1de27588 /jjb/include-docker-push.sh
parentd8a458b71171b81cf1df8ba2f6e75784beb4a1b4 (diff)
Add aai docker template
Change-Id: Id420552d166815107d0f25ea71a32a98062f52b7 Signed-off-by: Venkata Harish K Kajur <vk250x@att.com>
Diffstat (limited to 'jjb/include-docker-push.sh')
-rw-r--r--jjb/include-docker-push.sh10
1 files changed, 10 insertions, 0 deletions
diff --git a/jjb/include-docker-push.sh b/jjb/include-docker-push.sh
new file mode 100644
index 000000000..1017d549c
--- /dev/null
+++ b/jjb/include-docker-push.sh
@@ -0,0 +1,10 @@
+#!/bin/bash
+
+DOCKER_REPOSITORY="nexus3.openecomp.org:10003"
+SEARCH="aai-service";
+
+if [[ $PROJECT =~ $SEARCH ]] ; then
+ docker push $DOCKER_REPOSITORY/ecomp/ajsc-aai:latest;
+else
+ docker push $DOCKER_REPOSITORY/ecomp/model-loader:latest;
+fi