Jnkns stage add
This commit is contained in:
parent
05601b6149
commit
9330fbbd1f
@ -29,12 +29,14 @@
|
||||
node {
|
||||
checkout scm
|
||||
|
||||
def dataImage = docker.build('s478841-image', "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} .")
|
||||
stage('Load Docker image & data') {
|
||||
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') {
|
||||
// sh 'chmod u+x ./scripts/data_stats.sh'
|
||||
// sh './scripts/data_stats.sh'
|
||||
sh 'echo Data loaded'
|
||||
dataImage.inside('-v $WORKSPACE:/output -u root') {
|
||||
// sh 'chmod u+x ./scripts/data_stats.sh'
|
||||
// sh './scripts/data_stats.sh'
|
||||
sh 'echo Data loaded'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Archive arifacts') {
|
||||
|
Loading…
Reference in New Issue
Block a user