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