This commit is contained in:
Maciej 2021-04-12 00:54:11 +02:00
parent 46c95e1abd
commit fee589984f

12
Jenkinsfile vendored
View File

@ -18,11 +18,13 @@ pipeline {
}
stage('sh: Shell Script') {
steps {
def image = docker.build('dock')
image.inside{
sh 'chmod +x preparations.sh'
sh 'echo ${CUTOFF}'
sh './preparations.sh ${CUTOFF}'
script {
def image = docker.build('dock')
image.inside{
sh 'chmod +x preparations.sh'
sh 'echo ${CUTOFF}'
sh './preparations.sh ${CUTOFF}'
}
}
}
}