summaryrefslogtreecommitdiffstats
path: root/jjb/testsuite
diff options
context:
space:
mode:
authorJerry Flood <jf9860@att.com>2017-05-02 16:00:03 -0400
committerJerry Flood <jf9860@att.com>2017-05-03 11:48:42 -0400
commitffab4f773e77204e96cd6c37cbeb1979ad41e302 (patch)
treeb3e41f3c119eadd6cedd5d7a22112c544f3a338c /jjb/testsuite
parent5b598346c4943e967ecc7891745d408954592f7c (diff)
Add the demo git to the build.
robot repo should use demo repo as a submodule instead of a copy of their stuff. Coordination is needed between demo Also move the shell script out of the template as per review Issue: TEST-14 Change-Id: I0c1d8d9d3b1317d1c099c8fdaafa389af71d7b60 Signed-off-by: Jerry Flood <jf9860@att.com>
Diffstat (limited to 'jjb/testsuite')
-rw-r--r--jjb/testsuite/testsuite-docker.sh11
-rw-r--r--jjb/testsuite/testsuite.yaml9
2 files changed, 19 insertions, 1 deletions
diff --git a/jjb/testsuite/testsuite-docker.sh b/jjb/testsuite/testsuite-docker.sh
new file mode 100644
index 000000000..33eea4f81
--- /dev/null
+++ b/jjb/testsuite/testsuite-docker.sh
@@ -0,0 +1,11 @@
+#!/bin/bash
+#
+echo '============== CALLING SCRIPT TO CREATE DOCKER IMAGES ================='
+cp $WORKSPACE/docker/* .
+docker -D build -t openecomp/testsuite .
+export REPO="nexus3.onap.org:10003"
+for tag in $tags
+do
+ docker tag openecomp/testsuite:latest $REPO/openecomp/testsuite:$tag
+ docker push $REPO/openecomp/testsuite:$tag
+done
diff --git a/jjb/testsuite/testsuite.yaml b/jjb/testsuite/testsuite.yaml
index d9d883188..80897dbb9 100644
--- a/jjb/testsuite/testsuite.yaml
+++ b/jjb/testsuite/testsuite.yaml
@@ -3,7 +3,9 @@
name: testsuite
project-name: 'testsuite'
jobs:
- - '{project-name}-{stream}-2scm-docker-shell-daily'
+ - '{project-name}-{stream}-3scm-docker-shell-daily':
+ script:
+ !include-raw-escape: 'testsuite-docker.sh'
project: 'testsuite'
extra-project1: 'testsuite/python-testing-utils'
@@ -16,6 +18,11 @@
extra-refspec2: 'refs/heads/{branch}'
checkout-dir2: 'testsuite/heatbridge'
+ extra-project3: 'demo'
+ extra-branch3: 'master'
+ extra-refspec3: 'refs/heads/{branch}'
+ checkout-dir3: 'demo'
+
stream:
- 'master':
branch: 'master'