ium_478841/jenkins/Jenkinsfile_docker
2022-04-03 20:23:37 +02:00

26 lines
974 B
Plaintext

pipeline {
// properties([[$class: 'GogsProjectProperty', gogsBranchFilter: '', gogsSecret: <object of type hudson.util.Secret>, gogsUsePayload: false], [$class: 'RebuildSettings', autoRebuild: false, rebuildDisabled: false], parameters([string('CUTOFF')]), pipelineTriggers([pollSCM('')])])
agent {
dockerfile {
additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} -t s478841-create-dataset"
}
}
stages {
stage('sh: Shell script') {
steps {
sh 'chmod u+x ./scripts/data_stats.sh'
sh './scripts/data_stats.sh'
archiveArtifacts artifacts: 'data/avocado.data*', followSymlinks: false
}
}
// stage('Archive arifacts') {
// steps {
// archiveArtifacts artifacts: 'avocado.data*', followSymlinks: false
// }
// }
}
}