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