summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnil Shashikumar Belur <abelur@linuxfoundation.org>2017-02-20 23:07:21 +0000
committerGerrit Code Review <gerrit@openecomp.org>2017-02-20 23:07:21 +0000
commit4678d286c3e4fd2905fa3a7acbd9b1fa4b039507 (patch)
tree8aee9d566b8fce7680ef7c9687d9f10f39c433a2
parentab9451c7e6ed8a67ce528b29716d94786645594a (diff)
parentf68e919119e09a260e542d24adfd4438a03fef9b (diff)
Merge "python templates for docker releases"
-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