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') { stage('sh: Shell Script') {
steps { steps {
def image = docker.build('dock') script {
image.inside{ def image = docker.build('dock')
sh 'chmod +x preparations.sh' image.inside{
sh 'echo ${CUTOFF}' sh 'chmod +x preparations.sh'
sh './preparations.sh ${CUTOFF}' sh 'echo ${CUTOFF}'
sh './preparations.sh ${CUTOFF}'
}
} }
} }
} }