Skip to content

Commit a91eca8

Browse files
author
Kimmo Lepikko
committed
Stash hex file with WISE-1570
1 parent 57202ac commit a91eca8

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

Jenkinsfile

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,14 @@ def buildStep(target, compilerLabel, toolchain) {
121121

122122
execute ("mbed compile --build out/${target}_${toolchain}/ -m ${target} -t ${toolchain} -c --app-config ${config_file}")
123123
}
124-
stash name: "${target}_${toolchain}", includes: '**/mbed-os-example-cellular.bin'
125-
archive '**/mbed-os-example-cellular.bin'
124+
if ("${target}" == "MTB_ADV_WISE_1570") {
125+
stash name: "${target}_${toolchain}", includes: '**/mbed-os-example-cellular.hex'
126+
archive '**/mbed-os-example-cellular.hex'
127+
}
128+
else {
129+
stash name: "${target}_${toolchain}", includes: '**/mbed-os-example-cellular.bin'
130+
archive '**/mbed-os-example-cellular.bin'
131+
}
126132
step([$class: 'WsCleanup'])
127133
}
128134
}

0 commit comments

Comments
 (0)