validation, iec: Rework common parameters list
[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 - parameter:
34     name: bluval-defaults
35     parameters:
36       - lab_params
37       - string:
38           name: LAB_SILO
39           default: ''
40           description: 'Folder in nexus where the logs are pushed.'
41       - string:
42           name: SETTINGS_FILE
43           default: '/home/jenkins/settings.xml'
44           description: 'Path to credentials file'
45
46 - parameter:
47     name: lab_params
48     parameters:
49       - string:
50           name: CLUSTER_MASTER_IP
51           default: ''
52           description: 'IP address to connect to the cluster master'
53       - string:
54           name: CLUSTER_SSH_USER
55           default: ''
56           description: 'SSH username to connect to the cluster master '
57       - string:
58           name: CLUSTER_SSH_PASSWORD
59           default: ''
60           description: 'SSH password to connect to the cluster master'
61       - string:
62           name: CLUSTER_SSH_KEY
63           default: ''
64           description: 'SSH key to connect to the cluster master'
65       - string:
66           name: BLUEPRINT
67           default: ''
68           description: 'Blueprint used'
69       - string:
70           name: LAYER
71           default: ''
72           description: 'Layer'
73       - string:
74           name: VERSION
75           default: ''
76           description: 'Version'
77       - string:
78           name: OPTIONAL
79           default: ''
80           description: 'If set to yes run optional tests'
81
82 ############
83 # SETTINGS #
84 ############
85 # settings for jobs run in multijob phases
86 - docker-build-job-settings: &docker-build-job-settings
87     name: docker_build_job_settings
88     current-parameters: false
89     git-revision: true
90     node-parameters: false
91     predefined-parameters: |
92       GERRIT_REFNAME=$GERRIT_REFNAME
93     kill-phase-on: FAILURE
94     abort-all-jobs: false