From f68e919119e09a260e542d24adfd4438a03fef9b Mon Sep 17 00:00:00 2001 From: DR695H Date: Mon, 20 Feb 2017 17:06:47 -0500 Subject: python templates for docker releases adding a job to pytyhon templates to handle docker pushes Change-Id: I31bec7bf4cd79b42e799fc755492e159303a617b Signed-off-by: DR695H --- jjb/global-templates-python.yaml | 43 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/jjb/global-templates-python.yaml b/jjb/global-templates-python.yaml index 90d6c9072..a5c3b9003 100644 --- a/jjb/global-templates-python.yaml +++ b/jjb/global-templates-python.yaml @@ -64,3 +64,46 @@ # publishers: # - ecomp-infra-shiplogs: # maven-version: 'mvn33' + +- job-template: + name: '{project-name}-{stream}-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' + + 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: !include-raw: include-docker-push.sh -- cgit 1.2.3-korg