Fix archiving and color output on Jenkins.
parent
0562d68e51
commit
d875e116d3
|
@ -10,13 +10,14 @@ node("linux && amd64 && docker") {
|
|||
"""
|
||||
}
|
||||
|
||||
ansiColor('xterm') {
|
||||
sh """
|
||||
cd /freetz
|
||||
su freetz -c \"sh -c 'umask 0022 && make oldconfig && make'\"
|
||||
cp -r images outboard \"${env.WORKSPACE}\"
|
||||
"""
|
||||
}
|
||||
|
||||
dir("/freetz") {
|
||||
archive "images/**,outboard/**"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue