Zaktualizuj 'Jenkinsfile'
This commit is contained in:
parent
bf367e4361
commit
219984de92
7
Jenkinsfile
vendored
7
Jenkinsfile
vendored
@ -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'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user