ium_444356/Jenkinsfile_docker2

22 lines
399 B
Plaintext
Raw Normal View History

2022-04-01 14:07:51 +02:00
pipeline {
2022-04-02 15:05:37 +02:00
agent {
2022-04-02 15:15:44 +02:00
docker {
2022-04-02 15:44:47 +02:00
image 'ubuntu:latest'
2022-04-02 15:15:44 +02:00
}
2022-04-02 15:05:37 +02:00
}
parameters{
buildSelector(
defaultSelector: lastSuccessful(),
name: 'BUILD_SELECTOR',
description: 'Which build to use for copying artifacts'
)
}
stages {
stage("Script") {
steps {
2022-04-02 15:27:14 +02:00
sh "ls -al"
2022-04-02 15:50:11 +02:00
sh "pwd"
2022-04-02 15:05:37 +02:00
}
2022-04-01 14:07:51 +02:00
}
}
}