2022-09-01 03:23:10 +00:00
|
|
|
pipeline {
|
|
|
|
|
2022-09-01 03:32:10 +00:00
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'python:3.10-slim-bullseye'
|
|
|
|
}
|
|
|
|
}
|
2022-09-01 03:23:10 +00:00
|
|
|
|
|
|
|
stages {
|
|
|
|
stage('Setup') {
|
|
|
|
steps {
|
2022-09-01 04:09:33 +00:00
|
|
|
sh 'echo Hello world!'
|
2022-09-01 03:23:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
stage('Check') {
|
|
|
|
steps {
|
2022-09-01 04:09:33 +00:00
|
|
|
sh 'echo Hello galaxy!'
|
2022-09-01 03:23:10 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
cleanWs()
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|