3.1 Changed
This commit is contained in:
parent
b4a731aebe
commit
46c95e1abd
3
Jenkinsfile
vendored
3
Jenkinsfile
vendored
@ -18,11 +18,14 @@ pipeline {
|
|||||||
}
|
}
|
||||||
stage('sh: Shell Script') {
|
stage('sh: Shell Script') {
|
||||||
steps {
|
steps {
|
||||||
|
def image = docker.build('dock')
|
||||||
|
image.inside{
|
||||||
sh 'chmod +x preparations.sh'
|
sh 'chmod +x preparations.sh'
|
||||||
sh 'echo ${CUTOFF}'
|
sh 'echo ${CUTOFF}'
|
||||||
sh './preparations.sh ${CUTOFF}'
|
sh './preparations.sh ${CUTOFF}'
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
stage('archiveArtifacts'){
|
stage('archiveArtifacts'){
|
||||||
steps{
|
steps{
|
||||||
archiveArtifacts 'data.dev'
|
archiveArtifacts 'data.dev'
|
||||||
|
Loading…
Reference in New Issue
Block a user