2424 sh ' make -C mpy-cross clean all'
2525 }
2626
27- for (board in boards_to_build) {
27+ for (board in boards_to_build) {
2828 stage(board) {
2929 def parallelSteps = [:]
3030 for (variant in variants_to_build) {
@@ -105,7 +105,7 @@ def testBuild(short_name) {
105105 }
106106 sh ' python esp32/tools/pypic.py --port ' + device_name + ' --enter'
107107 sh ' python esp32/tools/pypic.py --port ' + device_name + ' --exit'
108- }
108+ }
109109 }
110110}
111111
@@ -116,21 +116,20 @@ def get_version() {
116116
117117def get_firmware_name (short_name ) {
118118 node {
119- def node_info = sh (script : ' cat ${JENKINS_HOME}/pycom-ic.conf || exit 0' , returnStdout : true ). trim()
120- def matcher = node_info =~ short_name + ' :(.+):.*'
119+ def node_info = sh (script : ' cat ${JENKINS_HOME}/pycom-ic.conf || exit 0' , returnStdout : true ). trim()
120+ def matcher = node_info =~ short_name + ' :(.+):.*'
121121 matcher ? matcher[0 ][1 ] : " WiPy"
122122 }
123123}
124124
125125def get_remote_name (short_name ) {
126126 node {
127- def node_info = sh (script : ' cat ${JENKINS_HOME}/pycom-ic.conf || exit 0' , returnStdout : true ). trim()
128- def matcher = node_info =~ short_name + ' :.*:(.+)'
127+ def node_info = sh (script : ' cat ${JENKINS_HOME}/pycom-ic.conf || exit 0' , returnStdout : true ). trim()
128+ def matcher = node_info =~ short_name + ' :.*:(.+)'
129129 matcher ? matcher[0 ][1 ] : " RPI3"
130130 }
131131}
132132
133133def get_device_name (short_name ) {
134134 return " /dev/tty.usbmodemPy" + short_name + " "
135135}
136-
0 commit comments