summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-python.yaml
diff options
context:
space:
mode:
authorDR695H <dr695h@att.com>2017-02-20 17:06:47 -0500
committerDR695H <dr695h@att.com>2017-02-20 17:08:08 -0500
commitf68e919119e09a260e542d24adfd4438a03fef9b (patch)
treedc18f96fac5706f18bcaa8827fee13564cfba4ca /jjb/global-templates-python.yaml
parent6a88c6059d7700aef207110a6a024a6d835616a6 (diff)
python templates for docker releases
adding a job to pytyhon templates to handle docker pushes Change-Id: I31bec7bf4cd79b42e799fc755492e159303a617b Signed-off-by: DR695H <dr695h@att.com>
Diffstat (limited to 'jjb/global-templates-python.yaml')
-rw-r--r--jjb/global-templates-python.yaml43
1 files changed, 43 insertions, 0 deletions
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