Use patch instead of "git am".
This commit is contained in:
parent
e1517134d7
commit
04758f674b
|
|
@ -11,9 +11,9 @@ node ("make") {
|
||||||
|
|
||||||
stage('patches') {
|
stage('patches') {
|
||||||
sh "cp -rf firmware/files firmware/package ."
|
sh "cp -rf firmware/files firmware/package ."
|
||||||
sh "git am --whitespace=nowarn firmware/patches/lede/*.patch"
|
sh "for file in firmware/patches/lede/*.patch; do patch -p1 < $file; done"
|
||||||
dir('feeds/routing') {
|
dir('feeds/routing') {
|
||||||
sh "git am --whitespace=nowarn ../../firmware/patches/routing/*.patch"
|
sh "for file in ../../firmware/patches/routing/*.patch; do patch -p1 < $file; done"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue