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

15
Jenkinsfile vendored
View File

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