ium_478841/Jenkinsfile_docker

25 lines
855 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('')])])
agent {
dockerfile {
2022-04-03 11:39:26 +02:00
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 {
stage('sh: Shell script') {
steps {
sh 'chmod u+x ./data_stats.sh'
sh './data_stats.sh'
}
}
stage('Archive arifacts') {
2022-04-03 11:37:35 +02:00
steps {
archiveArtifacts artifacts: 'avocado.data*', followSymlinks: false
}
2022-04-03 11:34:18 +02:00
}
}
}