Jnkns image tag fix
This commit is contained in:
parent
a42dff6770
commit
105013d6a9
@ -30,7 +30,7 @@ node {
|
|||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
stage('Load Docker image & data') {
|
stage('Load Docker image & data') {
|
||||||
def dataImage = docker.build('s478841-image', "--name kaggload_image --build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} .")
|
def dataImage = docker.build('s478841-image', "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} .")
|
||||||
|
|
||||||
dataImage.inside('-v $WORKSPACE:/output -u root') {
|
dataImage.inside('-v $WORKSPACE:/output -u root') {
|
||||||
// sh 'chmod u+x ./scripts/data_stats.sh'
|
// sh 'chmod u+x ./scripts/data_stats.sh'
|
||||||
@ -38,7 +38,7 @@ node {
|
|||||||
sh 'echo Data loaded'
|
sh 'echo Data loaded'
|
||||||
}
|
}
|
||||||
sh 'mkdir data'
|
sh 'mkdir data'
|
||||||
sh 'docker cp kaggload_image:/app/data/* data/'
|
sh 'docker cp s478841-image:/app/data/* data/'
|
||||||
}
|
}
|
||||||
|
|
||||||
stage('Archive arifacts') {
|
stage('Archive arifacts') {
|
||||||
|
Loading…
Reference in New Issue
Block a user