From c7169904a42681740b5c3e3ef8d6c5feffc1a8ba Mon Sep 17 00:00:00 2001 From: Alicja Szulecka <73056579+AliSzu@users.noreply.github.com> Date: Tue, 2 Apr 2024 16:33:57 +0200 Subject: [PATCH] Update Jenkinsfile --- Jenkinsfile | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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 }