Skip to content

Commit 4a794aa

Browse files
author
Kimmo Lepikko
committed
Set SIM PIN with python
1 parent 275c9aa commit 4a794aa

File tree

1 file changed

+9
-1
lines changed

1 file changed

+9
-1
lines changed

Jenkinsfile

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,15 +78,23 @@ def buildStep(target, compilerLabel, toolchain) {
7878
stage ("${target}_${compilerLabel}") {
7979
node ("${compilerLabel}") {
8080
deleteDir()
81+
82+
// Checkout scripts
83+
dir("mbed-os-systemtest") {
84+
git url: "[email protected]:ARMmbed/mbed-os-systemtest.git", branch:"master"
85+
}
86+
8187
dir("mbed-os-example-cellular") {
8288
checkout scm
8389
def config_file = "mbed_app.json"
8490

91+
// Sets correct SIM PIN and increases trace level for internal tests
92+
execute("python ../mbed-os-systemtest/cellular/configuration-scripts/update-mbed-app-json.py")
93+
8594
// Configurations for different targets
8695

8796
if ("${target}" == "MTB_ADV_WISE_1570") {
8897
execute("sed -i 's/\"lwip.ppp-enabled\": true,/\"lwip.ppp-enabled\": false,/' ${config_file}")
89-
execute("sed -i 's/\"platform.default-serial-baud-rate\": 115200,/\"platform.default-serial-baud-rate\": 9600,/' ${config_file}")
9098
}
9199

92100
if ("${target}" == "NRF52840_DK") {

0 commit comments

Comments
 (0)