Time out after 10 minutes of inactivity.
gitea/icedream/freetz-7362sl/master Something is wrong with the build of this commit Details

master
Icedream 2018-12-10 10:39:15 +01:00
parent 3460e43ff2
commit edeacbad50
Signed by: icedream
GPG Key ID: 1573F6D8EFE4D0CF
1 changed files with 7 additions and 5 deletions

2
Jenkinsfile vendored
View File

@ -36,12 +36,14 @@ node("linux && amd64 && docker") {
cd /freetz
su freetz -c \"sh -c 'umask 0022 && 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'\"
"""
}
}
sh """
cd /freetz
cp -r images outboard \"${env.WORKSPACE}\"