Fix archiving and color output on Jenkins.
parent
0562d68e51
commit
d875e116d3
|
@ -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/**"
|
||||||
}
|
}
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue