ium_478841/jenkins/Jenkinsfile_docker

26 lines
1023 B
Plaintext
Raw Normal View History

2022-04-03 11:34:18 +02:00
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('')])])
2022-04-03 20:31:30 +02:00
agent none
2022-04-03 11:34:18 +02:00
stages {
stage('sh: Shell script') {
2022-04-03 20:29:42 +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
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 20:24:34 +02:00
archiveArtifacts artifacts: 'avocado.data*', followSymlinks: false
2022-04-03 11:37:35 +02:00
}
2022-04-03 11:34:18 +02:00
}
2022-04-03 19:56:41 +02:00
// stage('Archive arifacts') {
// steps {
// archiveArtifacts artifacts: 'avocado.data*', followSymlinks: false
// }
// }
2022-04-03 11:34:18 +02:00
}
}