Skip to content

Commit 21c1014

Browse files
committed
feat: Verify openwrt keys early
to shorten failing build times due to broken github secrets
1 parent 3314b1a commit 21c1014

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Jenkinsfile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,21 +65,25 @@ pipeline {
6565
withCredentials([file(credentialsId: 'key-build', variable: 'FILE')]) {
6666
dir('gluon/openwrt') {
6767
sh 'cp $FILE key-build'
68+
sh 'echo "83d504c4d622555a7c5911abfe04575391d4132957d2c4d6da58cad6e01e60f9 key-build" | sha256sum -c'
6869
}
6970
}
7071
withCredentials([file(credentialsId: 'key-build.pub', variable: 'FILE')]) {
7172
dir('gluon/openwrt') {
7273
sh 'cp $FILE key-build.pub'
74+
sh 'echo "f5acf9d95b0b77e96a81f17aba729aa57ff279c1393a1df3b9cce11dc0ccb10a key-build.pub" | sha256sum -c'
7375
}
7476
}
7577
withCredentials([file(credentialsId: 'key-build.ucert', variable: 'FILE')]) {
7678
dir('gluon/openwrt') {
7779
sh 'cp $FILE key-build.ucert'
80+
sh 'echo "fb9e5f1d8f056c28aa84fd925bbba5d5de7d021076d470dd993e084f1add6b0a key-build.ucert" | sha256sum -c'
7881
}
7982
}
8083
withCredentials([file(credentialsId: 'key-build.ucert.revoke', variable: 'FILE')]) {
8184
dir('gluon/openwrt') {
8285
sh 'cp $FILE key-build.ucert.revoke'
86+
sh 'echo "e2df2c116e3e91b64f5f2125a401cb44c65a6bb2d8f565a9d7cb59e7e6d5308c key-build.ucert.revoke" | sha256sum -c'
8387
}
8488
}
8589
}

0 commit comments

Comments
 (0)