Zaktualizuj 'Jenkinsfile'

This commit is contained in:
Michał Zaręba 2021-04-08 22:42:41 +02:00
parent bf367e4361
commit 219984de92

7
Jenkinsfile vendored
View File

@ -1,12 +1,13 @@
pipeline{ pipeline{
agent { agent any
dockerfile true
}
parameters { parameters {
string(defaultValue: '5', description: 'Amount of lines to cut off the file.', name: 'CUTOFF', trim: false) string(defaultValue: '5', description: 'Amount of lines to cut off the file.', name: 'CUTOFF', trim: false)
} }
stages{ stages{
stage('Test') { stage('Test') {
agent {
dockerfile true
}
steps { steps {
sh 'python3 ./script2.py' sh 'python3 ./script2.py'
} }