From 441649ffddb5f0b7ad2be8a3326742c5ed97f82a Mon Sep 17 00:00:00 2001 From: Maciej Czajka Date: Sat, 2 Apr 2022 17:18:53 +0200 Subject: [PATCH] update jenkinsfile2 --- Jenkinsfile_docker2 | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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" } } }