summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-python.yaml
diff options
context:
space:
mode:
authorjf9860 <jf9860@att.com>2017-02-23 19:39:39 -0500
committerjf9860 <jf9860@att.com>2017-02-24 09:52:20 -0500
commitf9cfaf45017781511673c1e080044e846aac516d (patch)
tree32477b3f36dcab8ecfcd8e4b2f4b5b87b3b624a1 /jjb/global-templates-python.yaml
parent4a7bda71a2cbc6dc18c26149c2666cd6b9dc0df1 (diff)
clone eteutils and heatbridge for setup.sh
Changes as pre review Change-Id: I9325522c118cc46eabfbf350b0ee5ec088df5707 Signed-off-by: jf9860 <jf9860@att.com>
Diffstat (limited to 'jjb/global-templates-python.yaml')
-rw-r--r--jjb/global-templates-python.yaml58
1 files changed, 58 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