Skip to content

Commit 3f5c06f

Browse files
authored
fix(bacnet): Don't fail the build when the vendor id can't be downlaoded. (#2378)
1 parent a367070 commit 3f5c06f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

protocols/bacnetip/src/main/script/getVendorIds.groovy

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,9 @@ if (update) {
5050
println "Successfully updated BACnet Vendor IDs.htm"
5151
} catch (Exception e) {
5252
println "Got an error updating BACnet Vendor IDs.htm. Intentionally not failing the build as we might just be offline: " + e.getMessage()
53+
// If we can't update the vendor id file, it may be older and we run the risk of incorrectly updating the repo with an older version.
54+
// The vendor id website also has a cloudfare check which depending on the location may fail the build.
55+
return
5356
}
5457
} else {
5558
println "Skipped updating BACnet Vendor IDs.htm as it's fresh enough"

0 commit comments

Comments
 (0)