update jenkinsfile2

This commit is contained in:
Maciej Czajka 2022-04-02 17:17:26 +02:00
parent 5d3b40420b
commit e6442a662f

View File

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