6 - c_job_common: &c_job_common
10 # Default parameters #
11 ######################
14 submodule-recursive: true
15 submodule-disable: false
22 project-type: freestyle
28 build-days-to-keep: '{build-days-to-keep}'
31 - lf-infra-parameters:
37 - lf-infra-gerrit-scm:
38 jenkins-ssh-credential: '{jenkins-ssh-credential}'
39 git-url: '$GIT_URL/$PROJECT'
40 refspec: '$GERRIT_REFSPEC'
41 branch: '$GERRIT_BRANCH'
42 submodule-recursive: '{submodule-recursive}'
43 submodule-disable: '{submodule-disable}'
44 submodule-timeout: '{submodule-timeout}'
45 choosing-strategy: default
49 build-timeout: '{build-timeout}'
50 jenkins-ssh-credential: '{jenkins-ssh-credential}'
57 # job template for build C/C++ project
60 # script: build script to execute
62 name: '{project-name}-{stream}-verify-c'
67 - gerrit-trigger-patch-submitted:
68 server: '{server-name}'
78 # Job template for building & pushing docker images
80 # The purpose of this job template is to run:
81 # 1. login to the docker registry
82 # 2. run a specified shell builder
84 name: '{project-name}-{stream}-docker-c-shell-daily'
85 id: gerrit-docker-c-shell-daily
87 node: 'ubuntu1604-docker-8c-8g'
92 - gerrit-trigger-release-manually:
93 server: '{server-name}'
99 - provide-maven-settings:
100 global-settings-file: 'global-settings'
101 settings-file: '{mvn-settings}'
107 # job template for build project executed every 6hrs
109 # Required Variables:
110 # script: build script to execute
111 name: '{name}-{stream}-shell-6hrs'
116 - lf-infra-parameters:
120 lftools-version: '{lftools-version}'
123 - gerrit-trigger-scm:
124 refspec: '$GERRIT_REFSPEC'
125 submodule-recursive: '{submodule-recursive}'
126 choosing-strategy: 'gerrit'
129 - timed: '00 */6 * * *'