From 8509b946a53f60584ea94e6a03d924ca9d4b1b65 Mon Sep 17 00:00:00 2001 From: MatOgr Date: Sun, 3 Apr 2022 20:29:42 +0200 Subject: [PATCH] Jenkinsfile structure test --- jenkins/Jenkinsfile_docker | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/jenkins/Jenkinsfile_docker b/jenkins/Jenkinsfile_docker index d2c3aaa..ba46440 100644 --- a/jenkins/Jenkinsfile_docker +++ b/jenkins/Jenkinsfile_docker @@ -1,14 +1,14 @@ 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-arg KAGGLE_KEY=${params.KAGGLE_KEY} -t s478841-create-dataset" - } - } stages { stage('sh: Shell script') { + agent { + dockerfile { + additionalBuildArgs "--build-arg KAGGLE_USERNAME=${params.KAGGLE_USERNAME} --build-arg KAGGLE_KEY=${params.KAGGLE_KEY} -t s478841-create-dataset" + } + } steps { sh 'chmod u+x ./scripts/data_stats.sh' sh './scripts/data_stats.sh'