summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-script.yaml
diff options
context:
space:
mode:
authortalasila <talasila@research.att.com>2017-02-22 10:49:54 -0500
committertalasila <talasila@research.att.com>2017-02-22 10:50:07 -0500
commita20f8bf9b157dabf105baa2b935bd5282927116a (patch)
treec45f2ca404b4840227e2fde2781a5f0473cf3381 /jjb/global-templates-script.yaml
parente5983dca0246c9125a3ce1dd0a1b8a9674536166 (diff)
portal docker release job added
Change-Id: I2fccadd746027c9c70108a0ba5e9d1de66fed91c Signed-off-by: talasila <talasila@research.att.com>
Diffstat (limited to 'jjb/global-templates-script.yaml')
-rw-r--r--jjb/global-templates-script.yaml73
1 files changed, 73 insertions, 0 deletions
diff --git a/jjb/global-templates-script.yaml b/jjb/global-templates-script.yaml
index 7db818555..62d5d4b3a 100644
--- a/jjb/global-templates-script.yaml
+++ b/jjb/global-templates-script.yaml
@@ -714,3 +714,76 @@
# publishers:
# - ecomp-infra-shiplogs:
# maven-version: 'mvn33'
+
+- job-template:
+ # Job template for scm and script trigger - for docker daily release
+ #
+ # Required Variables:
+ # branch: git branch
+ # build-node: what build node to run on
+ # script: build script to execute
+
+ name: '{project-name}-{stream}-release-docker-script-daily'
+
+ project-type: freestyle
+ concurrent: true
+ node: '{build-node}'
+
+ 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}'
+ - maven-exec:
+ maven-version: 'mvn33'
+
+ 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
+ # make sure maven gets installed / setup
+ - maven-target:
+ maven-version: 'mvn33'
+ goals: '--version'
+ settings: '{mvn-settings}'
+ settings-type: cfp
+ global-settings: 'global-settings'
+ global-settings-type: cfp
+ - shell: '{script}'
+
+# publishers:
+# - ecomp-infra-shiplogs:
+# maven-version: 'mvn33' \ No newline at end of file