ium_444356/Jenkinsfile_docker2

22 lines
415 B
Plaintext

pipeline {
agent {
docker {
image 'maciejczajka'
}
}
parameters{
buildSelector(
defaultSelector: lastSuccessful(),
name: 'BUILD_SELECTOR',
description: 'Which build to use for copying artifacts'
)
}
stages {
stage("Script") {
steps {
sh "./stats.sh"
sh "python3 ./main.py"
}
}
}
}