Use exec.
gitea/icedream/freetz-7362sl/master Something is wrong with the build of this commit Details

master
Icedream 2018-12-11 02:15:57 +01:00
parent edeacbad50
commit eff6bfea99
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 2 additions and 2 deletions

4
Jenkinsfile vendored
View File

@ -34,13 +34,13 @@ node("linux && amd64 && docker") {
ansiColor('xterm') {
sh """
cd /freetz
su freetz -c \"sh -c 'umask 0022 && make oldconfig'\"
su freetz -c \"sh -c 'umask 0022 && exec make oldconfig'\"
"""
timeout(activity: true, time: 10) { // Time out after 10 min of inactivity
retry(10) {
sh """
cd /freetz
su freetz -c \"sh -c 'umask 0022 && make'\"
su freetz -c \"sh -c 'umask 0022 && exec make'\"
"""
}
}