ium_478841/jenkins/Jenkinsfile_docker

27 lines
586 B
Plaintext
Raw Normal View History

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'
2022-04-03 21:05:27 +02:00
sh 'ls -al'
2022-04-03 19:39:46 +02:00
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
}
}