diff --git a/Jenkinsfile2 b/Jenkinsfile2 index d7cc6d6..0babca3 100644 --- a/Jenkinsfile2 +++ b/Jenkinsfile2 @@ -1,5 +1,4 @@ pipeline { - agent any parameters{ buildSelector( defaultSelector: lastSuccessful(), @@ -8,6 +7,9 @@ ) } + agent { + docker { image 'ubuntu:latest' } + } stages { stage("Check out from version control") { steps {