Zaktualizuj 'Jenkinsfile'
This commit is contained in:
parent
7d8301a62b
commit
0c2498a3cc
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -1,17 +1,11 @@
|
||||
pipeline{
|
||||
agent any
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
parameters {
|
||||
string(defaultValue: '5', description: 'Amount of lines to cut off the file.', name: 'CUTOFF', trim: false)
|
||||
}
|
||||
stages{
|
||||
stage('Docker') {
|
||||
agent {
|
||||
dockerfile true
|
||||
}
|
||||
steps {
|
||||
sh 'python3 script2.py'
|
||||
}
|
||||
}
|
||||
stage('Stage 1'){
|
||||
steps{
|
||||
echo 'Hello World!'
|
||||
|
Loading…
Reference in New Issue
Block a user