diff --git a/Jenkinsfile b/Jenkinsfile index a29345d..026775d 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -1,10 +1,7 @@ pipeline { agent { - dockerfile { - filename 'Dockerfile.jenkins' - dir '.' - } + label 'agent2' } options { @@ -13,6 +10,12 @@ pipeline { stages { stage("Build") { + agent { + dockerfile { + filename 'Dockerfile.jenkins' + dir '.' + } + } steps { sh 'whoami' sh 'WINEPREFIX=${HOME}/.wine wine ./executables/nsis-3.10-setup.exe /S'