Fix archiving and color output on Jenkins.

master
Icedream 2017-05-23 21:26:28 +02:00
parent 0562d68e51
commit d875e116d3
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 8 additions and 7 deletions

5
Jenkinsfile vendored
View File

@ -10,13 +10,14 @@ node("linux && amd64 && docker") {
""" """
} }
ansiColor('xterm') {
sh """ sh """
cd /freetz cd /freetz
su freetz -c \"sh -c 'umask 0022 && make oldconfig && make'\" su freetz -c \"sh -c 'umask 0022 && make oldconfig && make'\"
cp -r images outboard \"${env.WORKSPACE}\"
""" """
}
dir("/freetz") {
archive "images/**,outboard/**" archive "images/**,outboard/**"
} }
} }
}