3 # Job template for Golang verify jobs
5 # The purpose of this job template is to run:
9 # branch: git branch (eg. stable/lithium or master)
11 name: '{project-name}-{stream}-verify-golang'
14 project-type: freestyle
20 build-days-to-keep: '{build-days-to-keep}'
26 refspec: 'refs/heads/{branch}'
27 artifacts: '{archive-artifacts}'
31 refspec: '$GERRIT_REFSPEC'
32 choosing-strategy: 'gerrit'
33 submodule-recursive: '{submodule-recursive}'
38 build-timeout: '{build-timeout}'
41 - gerrit-trigger-patch-submitted:
42 server: '{server-name}'
48 - provide-maven-settings:
49 global-settings-file: 'global-settings'
50 settings-file: '{mvn-settings}'
58 maven-version: '{maven-version}'
61 # Job template for Golang merge jobs
63 # The purpose of this job template is to run:
67 # branch: git branch (eg. stable/lithium or master)
69 name: '{project-name}-{stream}-merge-golang'
72 project-type: freestyle
77 build-days-to-keep: '{build-days-to-keep}'
83 refspec: 'refs/heads/{branch}'
84 artifacts: '{archive-artifacts}'
86 maven-version: '{maven-version}'
91 choosing-strategy: 'default'
92 submodule-recursive: '{submodule-recursive}'
97 build-timeout: '{build-timeout}'
100 - gerrit-trigger-patch-merged:
101 server: '{server-name}'
107 - provide-maven-settings:
108 global-settings-file: 'global-settings'
109 settings-file: '{mvn-settings}'
117 maven-version: '{maven-version}'
120 # Job template for building & pushing docker images
122 # The purpose of this job template is to run:
123 # 1. login to the docker registry
124 # 2. run a specified shell builder
127 name: '{project-name}-{stream}-docker-golang-shell-daily'
128 project-type: freestyle
129 node: 'ubuntu1604-docker-8c-8g'
133 build-days-to-keep: '{build-days-to-keep}'
139 refspec: 'refs/heads/{branch}'
140 artifacts: '{archive-artifacts}'
143 - gerrit-trigger-scm:
145 choosing-strategy: 'default'
146 submodule-recursive: '{submodule-recursive}'
151 build-timeout: '{build-timeout}'
155 - timed: 'H 12 * * *'
156 - gerrit-trigger-release-manually:
157 server: '{server-name}'
162 - provide-maven-settings:
163 global-settings-file: 'global-settings'
164 settings-file: '{mvn-settings}'
172 maven-version: '{maven-version}'