diff --git a/Jenkinsfile b/Jenkinsfile index aed8a38..8184b0a 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -10,11 +10,12 @@ node("linux && amd64 && docker") { """ } + sh """ + cd /freetz + su freetz -c \"sh -c 'umask 0022 && make oldconfig && make'\" + """ + dir("/freetz") { - sh """ - cd ${pwd()} - su freetz -c \"sh -c 'umask 0022 && make oldconfig && make'\" - """ archive "images/**,outboard/**" } }