File tree Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Expand file tree Collapse file tree 1 file changed +24
-0
lines changed Original file line number Diff line number Diff 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 {
You can’t perform that action at this time.
0 commit comments