2022-04-01 14:07:51 +02:00
|
|
|
pipeline {
|
2022-04-02 17:38:38 +02:00
|
|
|
agent {
|
|
|
|
docker {
|
|
|
|
image 'maciejczajka'
|
|
|
|
}
|
|
|
|
}
|
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 17:41:00 +02:00
|
|
|
sh "./stats.sh"
|
|
|
|
sh "python3 ./main.py"
|
2022-04-02 15:05:37 +02:00
|
|
|
}
|
2022-04-01 14:07:51 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|