27 lines
586 B
Plaintext
27 lines
586 B
Plaintext
pipeline {
|
|
|
|
agent {
|
|
dockerfile {
|
|
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} -t s478841-create-dataset"
|
|
}
|
|
}
|
|
|
|
stages {
|
|
stage('Simple data stats') {
|
|
steps {
|
|
sh 'chmod u+x ./scripts/data_stats.sh'
|
|
sh 'ls -al'
|
|
sh './scripts/data_stats.sh'
|
|
}
|
|
}
|
|
}
|
|
|
|
post {
|
|
always {
|
|
archiveArtifacts artifacts: 'data/*',
|
|
onlyIfSuccessful: true
|
|
}
|
|
}
|
|
}
|
|
|