Skip to content

Commit 6e38244

Browse files
committed
feat: Provide OpenWrt key-build files
1 parent c08a2eb commit 6e38244

File tree

1 file changed

+24
-0
lines changed

1 file changed

+24
-0
lines changed

Jenkinsfile

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,30 @@ pipeline {
6060
}
6161
}
6262
}
63+
stage('Update OpenWrt signing keys') {
64+
steps {
65+
withCredentials([file(credentialsId: 'key-build', variable: 'FILE')]) {
66+
dir('gluon/openwrt') {
67+
sh 'cp $FILE key-build'
68+
}
69+
}
70+
withCredentials([file(credentialsId: 'key-build.pub', variable: 'FILE')]) {
71+
dir('gluon/openwrt') {
72+
sh 'cp $FILE key-build.pub'
73+
}
74+
}
75+
withCredentials([file(credentialsId: 'key-build.ucert', variable: 'FILE')]) {
76+
dir('gluon/openwrt') {
77+
sh 'cp $FILE key-build.ucert'
78+
}
79+
}
80+
withCredentials([file(credentialsId: 'key-build.ucert.revoke', variable: 'FILE')]) {
81+
dir('gluon/openwrt') {
82+
sh 'cp $FILE key-build.ucert.revoke'
83+
}
84+
}
85+
}
86+
}
6387
stage('Trigger target builds') {
6488
when {
6589
expression {

0 commit comments

Comments
 (0)