Jnkns stage add

This commit is contained in:
MatOgr 2022-04-03 21:35:05 +02:00
parent 05601b6149
commit 9330fbbd1f

View File

@ -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