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