diff --git a/Jenkinsfile b/Jenkinsfile index 058cb96..d299d7e 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -6,11 +6,6 @@ pipeline { string(name: 'CUTOFF', defaultValue: '100', description: 'cut off number') } stages { - stage('Git Checkout') { - steps { - checkout scm - } - } stage('Build') { steps { script { @@ -18,6 +13,7 @@ pipeline { "KAGGLE_KEY=${params.KAGGLE_KEY}" ]) { def customImage = docker.build("custom-image") customImage.inside { + checkout scm sh 'bash ./get_dataset.sh $CUTOFF' archiveArtifacts artifacts: 'artifacts/*', onlyIfSuccessful: true }