diff --git a/Jenkinsfile_docker2 b/Jenkinsfile_docker2 index 5a77162..0647bb4 100644 --- a/Jenkinsfile_docker2 +++ b/Jenkinsfile_docker2 @@ -1,5 +1,9 @@ pipeline { - agent any + agent { + docker { + image 'czajson99/ium:v8' + } + } parameters{ buildSelector( defaultSelector: lastSuccessful(), @@ -10,8 +14,7 @@ pipeline { stages { stage("Script") { steps { - sh "docker run -t czajson99/ium:v7 --entrypoint ls -al" - + sh "ls -al" } } }