Update Jenkinsfile
This commit is contained in:
parent
c9c65c2d4b
commit
02b7d68983
1 changed files with 2 additions and 3 deletions
5
Jenkinsfile
vendored
5
Jenkinsfile
vendored
|
@ -54,12 +54,11 @@ pipeline {
|
|||
#!/bin/bash
|
||||
|
||||
cd patches
|
||||
patch_files=(*.patch)
|
||||
|
||||
# Only proceed if there are patch files
|
||||
if [ ${#patch_files[@]} -ne 0 ]; then
|
||||
if compgen -G "*.patch" > /dev/null; then
|
||||
# Loop over all patch files and apply them
|
||||
for patch_file in "${patch_files[@]}"; do
|
||||
for patch_file in *.patch; do
|
||||
echo "Applying $patch_file to ../phoenix-firestorm/"
|
||||
patch -d ../phoenix-firestorm/ -Np1 -i "$patch_file"
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue