diff options
Diffstat (limited to 'jjb/global-templates-python.yaml')
-rw-r--r-- | jjb/global-templates-python.yaml | 78 |
1 files changed, 69 insertions, 9 deletions
diff --git a/jjb/global-templates-python.yaml b/jjb/global-templates-python.yaml index 63f6131f8..d787b3831 100644 --- a/jjb/global-templates-python.yaml +++ b/jjb/global-templates-python.yaml @@ -177,16 +177,76 @@ - docker-login - - shell: | - 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 + - shell: '{script}' + + publishers: + - infra-shiplogs: + maven-version: '{maven-version}' + +- job-template: + name: '{project-name}-{stream}-3scm-docker-shell-daily' + project-type: freestyle + node: 'ubuntu1604-docker-8c-8g' + + properties: + - infra-properties: + build-days-to-keep: '{build-days-to-keep}' + + parameters: + - infra-parameters: + project: '{project}' + branch: '{branch}' + refspec: 'refs/heads/{branch}' + artifacts: '{archive-artifacts}' + - maven-exec: + maven-version: '{maven-version}' + + 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}' + - git-extra-project: + project: '{extra-project3}' + refspec: '{extra-refspec3}' + branch: '{extra-branch3}' + checkout-dir: '{checkout-dir3}' + + wrappers: + - 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}' + + - inject: + properties-file: version.properties + + - docker-login + + - shell: '{script}' publishers: - infra-shiplogs: maven-version: '{maven-version}' + |