2022-04-03 11:34:18 +02:00
|
|
|
pipeline {
|
2022-04-03 20:38:22 +02:00
|
|
|
|
|
|
|
agent {
|
|
|
|
dockerfile {
|
|
|
|
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} -t s478841-create-dataset"
|
|
|
|
}
|
|
|
|
}
|
2022-04-03 11:34:18 +02:00
|
|
|
|
|
|
|
stages {
|
2022-04-03 20:38:22 +02:00
|
|
|
stage('Simple data stats') {
|
2022-04-03 11:34:18 +02:00
|
|
|
steps {
|
2022-04-03 19:39:46 +02:00
|
|
|
sh 'chmod u+x ./scripts/data_stats.sh'
|
|
|
|
sh './scripts/data_stats.sh'
|
2022-04-03 11:37:35 +02:00
|
|
|
}
|
2022-04-03 11:34:18 +02:00
|
|
|
}
|
2022-04-03 20:38:22 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
post {
|
|
|
|
always {
|
|
|
|
archiveArtifacts artifacts: 'data/*',
|
|
|
|
onlyIfSuccessful: true
|
|
|
|
}
|
2022-04-03 11:34:18 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|