3.1 Changed

This commit is contained in:
Maciej 2021-04-12 00:52:31 +02:00
parent b4a731aebe
commit 46c95e1abd

9
Jenkinsfile vendored
View File

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