Skip to content
This repository was archived by the owner on Sep 16, 2024. It is now read-only.

Commit b16e92d

Browse files
Xykoniwahdan88
authored andcommitted
Update Jenkinsfile and pycom_version.h
1 parent 3024c89 commit b16e92d

File tree

2 files changed

+8
-9
lines changed

2 files changed

+8
-9
lines changed

Jenkinsfile

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ node {
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

117117
def 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

125125
def 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

133133
def get_device_name(short_name) {
134134
return "/dev/tty.usbmodemPy" + short_name + " "
135135
}
136-

esp32/pycom_version.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010
#ifndef VERSION_H_
1111
#define VERSION_H_
1212

13-
#define SW_VERSION_NUMBER "1.20.1"
13+
#define SW_VERSION_NUMBER "1.20.1.r1"
1414

1515
#define LORAWAN_VERSION_NUMBER "1.0.2"
1616

1717
#define SIGFOX_VERSION_NUMBER "1.0.1"
1818

1919
#if (VARIANT == PYBYTES)
20-
#define PYBYTES_VERSION_NUMBER "1.1.2"
20+
#define PYBYTES_VERSION_NUMBER "1.1.3"
2121
#endif
2222

2323
#endif /* VERSION_H_ */

0 commit comments

Comments
 (0)