update jenkinsfile2
This commit is contained in:
parent
5d3b40420b
commit
e6442a662f
@ -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"
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user