Zaktualizuj 'Jenkinsfile'

This commit is contained in:
Michał Zaręba 2021-04-08 22:00:01 +02:00
parent 7d8301a62b
commit 0c2498a3cc

12
Jenkinsfile vendored
View File

@ -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!'