Skip to content

Commit 480acf0

Browse files
committed
Add Adafruit GPS library in jenkins pipline
1 parent fd92f0a commit 480acf0

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

Jenkinsfilek8s

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
timeout(time: 30, unit: 'MINUTES')
1313
}
1414

15-
environment {
15+
environment {
1616
DEPLOY_TOOL_URL = 'https://bitbucket.microchip.com/scm/citd/tool-github-deploy.git'
1717
DEPLOY_SCRIPT_FILE = 'tool-github-deploy/tool-github-deploy/tool-github-deploy.py'
1818
BITBUCKET_REPO = 'https://bitbucket.microchip.com/scm/mcu8mass/avr-iot-cellular-arduino-library.git'
@@ -40,12 +40,13 @@
4040
}
4141
}
4242
}
43-
43+
4444

4545
stage('install-libraries') {
4646
steps {
4747
sh 'arduino-cli core install --additional-urls "http://drazzy.com/package_drazzy.com_index.json" DxCore:megaavr'
4848
sh 'arduino-cli lib install ArduinoJson'
49+
sh 'arduino-cli lib install "Adafruit GPS Library"'
4950
sh 'ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://bitbucket.microchip.com/scm/mcu8mass/veml3328_arduino_driver.git'
5051
sh 'ARDUINO_LIBRARY_ENABLE_UNSAFE_INSTALL=true arduino-cli lib install --git-url https://bitbucket.microchip.com/scm/mcu8mass/mcp9808_arduino_driver.git'
5152
}
@@ -92,7 +93,7 @@
9293
steps {
9394
sh "git clone ${env.DEPLOY_TOOL_URL}"
9495
sh "pip3 install PyGithub atlassian-python-api jsonschema packaging lxml"
95-
}
96+
}
9697
}
9798

9899
// Sync the bitbucket repository with the github repository
@@ -145,7 +146,7 @@
145146
execute("git config --global user.email 'microchip@microchip.com'")
146147
execute("git config --global user.name 'Microchip Technology'")
147148
}
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+
}

0 commit comments

Comments
 (0)