summaryrefslogtreecommitdiffstats
path: root/jjb
diff options
context:
space:
mode:
authorAndrew Grimberg <agrimberg@linuxfoundation.org>2017-02-24 15:10:43 +0000
committerGerrit Code Review <gerrit@openecomp.org>2017-02-24 15:10:43 +0000
commita6efbb49541f6527beb0161e74840b9563876042 (patch)
tree95b08c3dfa91532d973f533b79cc46e2cfbb0d7e /jjb
parentc27b091032fcccb928887467ed711b036cc034bf (diff)
parentf9cfaf45017781511673c1e080044e846aac516d (diff)
Merge "clone eteutils and heatbridge for setup.sh"
Diffstat (limited to 'jjb')
-rw-r--r--jjb/global-templates-python.yaml58
-rw-r--r--jjb/testsuite/testsuite.yaml9
2 files changed, 67 insertions, 0 deletions
diff --git a/jjb/global-templates-python.yaml b/jjb/global-templates-python.yaml
index a972baaee..173ba4cf7 100644
--- a/jjb/global-templates-python.yaml
+++ b/jjb/global-templates-python.yaml
@@ -111,4 +111,62 @@
docker -D build -t openecomp/testsuite .
export DOCKER_REPOSITORY="nexus3.openecomp.org:10003"
docker tag openecomp/testsuite:latest $DOCKER_REPOSITORY/openecomp/testsuite:latest
+ docker push $DOCKER_REPOSITORY/openecomp/testsuite:latest
+
+- job-template:
+ name: '{project-name}-{stream}-2scm-docker-shell-daily'
+ project-type: freestyle
+ node: 'ubuntu1604-docker-8c-8g'
+
+ properties:
+ - ecomp-infra-properties:
+ build-days-to-keep: '{build-days-to-keep}'
+
+ parameters:
+ - ecomp-infra-parameters:
+ project: '{project}'
+ branch: '{branch}'
+ refspec: 'refs/heads/{branch}'
+ artifacts: '{archive-artifacts}'
+
+ scm:
+ - gerrit-trigger-scm:
+ refspec: ''
+ choosing-strategy: 'default'
+ - git-extra-project:
+ project: '{extra-project1}'
+ refspec: '{extra-refspec1}'
+ branch: '{extra-branch1}'
+ checkout-dir: '{checkout-dir1}'
+ - git-extra-project:
+ project: '{extra-project2}'
+ refspec: '{extra-refspec2}'
+ branch: '{extra-branch2}'
+ checkout-dir: '{checkout-dir2}'
+
+ wrappers:
+ - ecomp-infra-wrappers:
+ build-timeout: '{build-timeout}'
+
+ triggers:
+ # 12 AM UTC
+ - timed: 'H 12 * * *'
+ - gerrit-trigger-release-manually:
+ server: '{server-name}'
+ project: '{project}'
+ branch: '{branch}'
+
+ builders:
+
+ - provide-maven-settings:
+ global-settings-file: 'global-settings'
+ settings-file: '{mvn-settings}'
+
+ - docker-login
+
+ - shell: |
+ cp $WORKSPACE/docker/* .
+ docker -D build -t openecomp/testsuite .
+ export DOCKER_REPOSITORY="nexus3.openecomp.org:10003"
+ docker tag openecomp/testsuite:latest $DOCKER_REPOSITORY/openecomp/testsuite:latest
docker push $DOCKER_REPOSITORY/openecomp/testsuite:latest \ No newline at end of file
diff --git a/jjb/testsuite/testsuite.yaml b/jjb/testsuite/testsuite.yaml
index 399a53558..da0722b79 100644
--- a/jjb/testsuite/testsuite.yaml
+++ b/jjb/testsuite/testsuite.yaml
@@ -6,6 +6,15 @@
- '{project-name}-{stream}-docker-shell-daily'
project: 'testsuite'
+ extra-project1: 'python-testing-utils'
+ extra-branch1: 'master'
+ extra-refspec1: 'refs/heads/{branch}'
+ checkout-dir1: 'testsuite/eteutils'
+
+ extra-project2: 'heatbridge'
+ extra-branch2: 'master'
+ extra-refspec2: 'refs/heads/{branch}'
+ checkout-dir2: 'testsuite/heatbridge'
stream:
- 'master':