Zaktualizuj 'Jenkinsfile'
This commit is contained in:
parent
447f534840
commit
7d8301a62b
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('Docker') {
|
stage('Docker') {
|
||||||
|
agent {
|
||||||
|
dockerfile true
|
||||||
|
}
|
||||||
steps {
|
steps {
|
||||||
sh 'python3 script2.py'
|
sh 'python3 script2.py'
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user