Fix SCM macro usage of refspec, branches
[ci-management.git] / jjb / akraino-templates / akraino-validation-macros.yaml
1 ---
2 ##############
3 # PARAMETERS #
4 ##############
5 - parameter:
6     name: bluval-defaults
7     parameters:
8       - string: &cluster_master_ip
9           name: CLUSTER_MASTER_IP
10           default: ''
11           description: 'IP address to connect to the cluster master'
12       - string: &cluster_ssh_user
13           name: CLUSTER_SSH_USER
14           default: ''
15           description: 'SSH username to connect to the cluster master '
16       - string: &cluster_ssh_password
17           name: CLUSTER_SSH_PASSWORD
18           default: ''
19           description: 'SSH password to connect to the cluster master'
20       - string: &cluster_ssh_key
21           name: CLUSTER_SSH_KEY
22           default: ''
23           description: 'SSH key to connect to the cluster master'
24       - string: &blueprint_name
25           name: BLUEPRINT
26           default: ''
27           description: 'Blueprint used'
28       - string: &layer
29           name: LAYER
30           default: ''
31           description: 'Layer'
32       - string: &version
33           name: VERSION
34           default: ''
35           description: 'Version'
36       - string: &optional
37           name: OPTIONAL
38           default: ''
39           description: 'If set to yes run optional tests'
40       - string:
41           name: LAB_SILO
42           default: ''
43           description: 'Folder in nexus where the logs are pushed.'
44       - string:
45           name: SETTINGS_FILE
46           default: '/home/jenkins/settings.xml'
47           description: 'Path to credentials file'
48
49 - parameter:
50     name: lab_params
51     parameters:
52       - string:
53           <<: *cluster_master_ip
54       - string:
55           <<: *cluster_ssh_user
56       - string:
57           <<: *cluster_ssh_password
58       - string:
59           <<: *cluster_ssh_key
60       - string:
61           <<: *blueprint_name
62       - string:
63           <<: *layer
64       - string:
65           <<: *version
66       - string:
67           <<: *optional
68
69 ############
70 # SETTINGS #
71 ############
72 # settings for jobs run in multijob phases
73 - docker-build-job-settings: &docker-build-job-settings
74     name: docker_build_job_settings
75     current-parameters: true
76     git-revision: false
77     node-parameters: false
78     kill-phase-on: FAILURE
79     abort-all-jobs: false