Jnkns stage add
This commit is contained in:
parent
05601b6149
commit
9330fbbd1f
@ -29,6 +29,7 @@
|
|||||||
node {
|
node {
|
||||||
checkout scm
|
checkout scm
|
||||||
|
|
||||||
|
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} .")
|
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') {
|
||||||
@ -36,6 +37,7 @@ node {
|
|||||||
// sh './scripts/data_stats.sh'
|
// sh './scripts/data_stats.sh'
|
||||||
sh 'echo Data loaded'
|
sh 'echo Data loaded'
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
stage('Archive arifacts') {
|
stage('Archive arifacts') {
|
||||||
archiveArtifacts artifacts: 'avocado.data*', followSymlinks: false, onlyIfSuccessful: true
|
archiveArtifacts artifacts: 'avocado.data*', followSymlinks: false, onlyIfSuccessful: true
|
||||||
|
Loading…
Reference in New Issue
Block a user