This commit is contained in:
MatOgr 2022-04-03 21:55:34 +02:00
parent 105013d6a9
commit 45c7cc75e3

View File

@ -32,13 +32,13 @@ node {
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') {
dataImage.inside('--name kaggload -v $WORKSPACE:/output -u root') {
// sh 'chmod u+x ./scripts/data_stats.sh'
// sh './scripts/data_stats.sh'
sh 'echo Data loaded'
}
sh 'mkdir data'
sh 'docker cp s478841-image:/app/data/* data/'
sh 'docker cp kaggload:/app/data/* data/'
}
stage('Archive arifacts') {