File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change 12
12
timeout(time: 30, unit: 'MINUTES')
13
13
}
14
14
15
- environment {
15
+ environment {
16
16
DEPLOY_TOOL_URL = 'https://bitbucket.microchip.com/scm/citd/tool-github-deploy.git'
17
17
DEPLOY_SCRIPT_FILE = 'tool-github-deploy/tool-github-deploy/tool-github-deploy.py'
18
18
BITBUCKET_REPO = 'https://bitbucket.microchip.com/scm/mcu8mass/avr-iot-cellular-arduino-library.git'
40
40
}
41
41
}
42
42
}
43
-
43
+
44
44
45
45
stage('install-libraries') {
46
46
steps {
47
47
sh 'arduino-cli core install --additional-urls "http://drazzy.com/package_drazzy.com_index.json" DxCore:megaavr'
48
48
sh 'arduino-cli lib install ArduinoJson'
49
+ sh 'arduino-cli lib install "Adafruit GPS Library"'
49
50
sh 'ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://bitbucket.microchip.com/scm/mcu8mass/veml3328_arduino_driver.git'
50
51
sh 'ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://bitbucket.microchip.com/scm/mcu8mass/mcp9808_arduino_driver.git'
51
52
}
92
93
steps {
93
94
sh "git clone ${env.DEPLOY_TOOL_URL}"
94
95
sh "pip3 install PyGithub atlassian-python-api jsonschema packaging lxml"
95
- }
96
+ }
96
97
}
97
98
98
99
// Sync the bitbucket repository with the github repository
145
146
execute("git config --global user.email 'microchip@microchip.com'")
146
147
execute("git config --global user.name 'Microchip Technology'")
147
148
}
148
-
149
- String getDependencyError() {
150
- return sh(script: "! arduino-lint --library-manager update --compliance strict --format json | grep LP048", returnStdout: true)?.trim()
151
- }
149
+
150
+ String getDependencyError() {
151
+ return sh(script: "! arduino-lint --library-manager update --compliance strict --format json | grep LP048", returnStdout: true)?.trim()
152
+ }
You can’t perform that action at this time.
0 commit comments