[validation] Build release images
[ci-management.git] / jjb / akraino-templates / akraino-validation-macros.yaml
1 ---
2 #######
3 # SCM #
4 #######
5 - scm:
6     # Enhanced version of the global-jjb
7     name: validation-infra-gerrit-scm
8     scm:
9       - git:
10           credentials-id: '{jenkins-ssh-credential}'
11           url: '{git-url}'
12           refspec: '{refspec}'
13           branches:
14             - 'refs/{refs_tag}/{stream}'
15           skip-tag: false
16           wipe-workspace: true
17           submodule:
18             recursive: '{submodule-recursive}'
19             timeout: '{submodule-timeout}'
20           choosing-strategy: '{choosing-strategy}'
21
22 ##############
23 # PARAMETERS #
24 ##############
25 - parameter:
26     name: validation-job-parameters
27     parameters:
28       - lf-infra-parameters:
29           project: '{project}'
30           stream: '{stream}'
31           branch: '{branch}'
32
33 ############
34 # SETTINGS #
35 ############
36 # settings for jobs run in multijob phases
37 - docker-build-job-settings: &docker-build-job-settings
38     name: docker_build_job_settings
39     current-parameters: false
40     git-revision: true
41     node-parameters: false
42     predefined-parameters: |
43       GERRIT_REFNAME=$GERRIT_REFNAME
44     kill-phase-on: FAILURE
45     abort-all-jobs: false