summaryrefslogtreecommitdiffstats
path: root/jjb/global-templates-python.yaml
diff options
context:
space:
mode:
authorJessica Wagantall <jwagantall@linuxfoundation.org>2017-12-21 12:10:19 -0800
committerJessica Wagantall <jwagantall@linuxfoundation.org>2017-12-21 12:23:02 -0800
commita0b80c6da2bb6fc6ecf256c899525370830a8ca2 (patch)
tree613c0c1cb10011590cc95ab167083c2dd2975bd0 /jjb/global-templates-python.yaml
parentaf6c4e02aa3ae210ea85b2d9c00698c0623f9e1e (diff)
Improve jjb global template documentation
Add more details to the global java and python templates Change-Id: Ieca6eb48406a369e0da707e3ccb662c649a5d1d7 Issue-ID: CIMAN-122 Signed-off-by: Jessica Wagantall <jwagantall@linuxfoundation.org>
Diffstat (limited to 'jjb/global-templates-python.yaml')
-rw-r--r--jjb/global-templates-python.yaml49
1 files changed, 35 insertions, 14 deletions
diff --git a/jjb/global-templates-python.yaml b/jjb/global-templates-python.yaml
index ec9002eda..acd5e17f0 100644
--- a/jjb/global-templates-python.yaml
+++ b/jjb/global-templates-python.yaml
@@ -2,8 +2,10 @@
- job-template:
# Job template for python verify jobs
#
- # The purpose of this job template is to run tox for projects using this
- # template.
+ # The purpose of this job template is to run:
+ # 1. tox
+ #
+ # This job supports subprojects.
#
# Required Variables:
# branch: git branch (eg. stable/lithium or master)
@@ -69,6 +71,17 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for docker daily jobs
+ #
+ # The purpose of this job template is to run:
+ # 1. login into the docker registry
+ # 2. docker build
+ # 3. docker tag
+ # 4. docker push
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-docker-shell-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -105,7 +118,6 @@
branch: '{branch}'
builders:
-
- provide-maven-settings:
global-settings-file: 'global-settings'
settings-file: '{mvn-settings}'
@@ -124,6 +136,16 @@
maven-version: '{maven-version}'
- job-template:
+ # Job template for docker daily jobs for 2 SCMs
+ #
+ # The purpose of this job template is to run:
+ # 1. inject a version properties file
+ # 2. login into the docker registry
+ # 4. run a specified shell script
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-2scm-docker-shell-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -170,23 +192,28 @@
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}'
- job-template:
+ # Job template for docker daily jobs for 3 SCMs
+ #
+ # The purpose of this job template is to run:
+ # 1. inject a version properties file
+ # 2. login into the docker registry
+ # 4. run a specified shell script
+ #
+ # Required Variables:
+ # branch: git branch (eg. stable/lithium or master)
+
name: '{project-name}-{stream}-3scm-docker-shell-daily'
project-type: freestyle
node: 'ubuntu1604-docker-8c-8g'
@@ -238,19 +265,13 @@
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}'
-