summaryrefslogtreecommitdiffstats
path: root/jjb/include-docker-push.sh
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2017-02-20 20:41:12 +0000
committerGerrit Code Review <gerrit@openecomp.org>2017-02-20 20:41:12 +0000
commit3bdbcf648791e55f87afc948b27c0da21a04c5dc (patch)
tree8b02a66e3dbcff86ca88898f030af5dc64901a99 /jjb/include-docker-push.sh
parentf959ff30e4e83f631d5e052472d0f8a819249b61 (diff)
parentbaaef367a357915ff05a8a401b257e7db0903fb7 (diff)
Merge changes Id420552d,I664b466e
* changes: Add aai docker template Update jenkins aai to remove goals
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