1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
- builder: # This step removes artifacts from previous builds
name: clear-artifacts
builders:
- shell: 'sudo rm -rf *'
- builder: # This step writes the iso info to the output
name: echo-media-info
builders:
- shell: |
echo -n "Media Info: " > media_info
bsdtar -x -f {iso} -O \./.disk/info >> media_info
echo >> media_info
cat media_info
- publisher: # This publisher archives all job artifacts
name: 'archive-artifacts'
publishers:
- archive:
artifacts: '**/*'
allow-empty: 'true'
|