Skip to content

Commit 6398220

Browse files
author
Arto Kinnunen
authored
Update Jenkinsfile (#245)
1 parent 169ebac commit 6398220

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

Jenkinsfile

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,8 +142,8 @@ def buildStep(target, compilerLabel, toolchain, radioShield, meshInterface) {
142142

143143
if ("${meshInterface}" == "ws") {
144144
config_file = "./configs/mesh_wisun${config_suffix}.json"
145-
// Possibly in future use systest Wi-SUN Border Router for testing (Network name = "ARM-WS-TESTING")
146-
execute("sed -i 's/\"mbed-mesh-api.wisun-network-name\": \"\\\"Wi-SUN Network\\\"\"/\"mbed-mesh-api.wisun-network-name\": \"\\\"ARM-WS-LAB-NWK\\\"\"/' ${config_file}")
145+
// Possibly in future use systest Wi-SUN Border Router for testing (Network name = "ARM-WS-LAB-NWK")
146+
execute("sed -i 's/Wi-SUN Network/ARM-WS-LAB-NWK/' ${config_file}")
147147
}
148148

149149
// For KW24D, we need to optimize for low memory
@@ -161,6 +161,8 @@ def buildStep(target, compilerLabel, toolchain, radioShield, meshInterface) {
161161
// Activate traces
162162
execute("sed -i 's/\"mbed-trace.enable\": false/\"mbed-trace.enable\": true/' ${config_file}")
163163

164+
execute("cat ${config_file}")
165+
164166
// Set mbed-os to revision received as parameter
165167
execute ("mbed deploy --protocol ssh")
166168
if (params.mbed_os_revision != '') {

0 commit comments

Comments
 (0)