update jenkinsfile2

This commit is contained in:
Maciej Czajka 2022-04-02 17:18:53 +02:00
parent e6442a662f
commit 441649ffdd

View File

@ -1,9 +1,5 @@
pipeline { pipeline {
agent { agent any
docker {
image 'czajson99/ium:v8'
}
}
parameters{ parameters{
buildSelector( buildSelector(
defaultSelector: lastSuccessful(), defaultSelector: lastSuccessful(),
@ -14,7 +10,7 @@ pipeline {
stages { stages {
stage("Script") { stage("Script") {
steps { steps {
sh "ls -al" sh "docker run -t czajson99/ium:v8 --entrypoint ls -al"
} }
} }
} }