Add build folder for ONAP Offline Build Jobs
[infra/cicd.git] / jjb / onap-offline / build_jobs / jjb / 3_build_download_artifacts.yaml
1 - job:
2     name: '1.3_onap_offline_build_download_artifacts'
3     description: 'This job creates a data list based on OOM helm charts. Create a script for download of the packages.'
4     node: onap-offline-ubuntu1804
5     parameters:
6       - string:
7           name: clone_oom_cmd
8           default: "sudo git clone -b master https://gerrit.onap.org/r/oom --recurse-submodules /tmp/oom"
9           description: 'Change branch (-b) to whichever branch you want to pull -dublin -master'
10       - string:
11           name: 'data_list_dir'
12           default: '/tmp/onap-offline/build/data_lists'
13           description: 'Directory of the data_lists'
14       - string:
15           name: 'remote_user'
16           default: 'centos'
17           description: User of the VM, used when sshing
18       - string:
19           name: 'resources_dir'
20           default: '/tmp/resources'
21           description: 'Directory of resources'
22       - string:
23           name: 'ssh_key'
24           default: '/home/ubuntu/.ssh/id_rsa'
25           description: 'Key used to ssh onto the VM'
26       - string:
27           name: 'sed_cmd'
28           default: s/exit 0/echo -e '\''another line'\'' \nexit 0
29           description: 'Adding another echo before the end of the script as the script would hang on exit 0'
30       - string:
31           name: 'build_dir'
32           default: '/tmp/onap-offline/build'
33           description: 'Build directory'
34
35     builders:
36       - build-name-setter:
37           template: '#${BUILD_NUMBER}'
38           macro: true
39       - shell:
40           !include-raw-escape: ../scripts/3_build_download_artifacts.sh
41     wrappers:
42       - timestamps