From 693e4729d989448cd42b1d58a536afa522a3923c Mon Sep 17 00:00:00 2001 From: Witold Woch Date: Fri, 12 May 2023 20:25:32 +0200 Subject: [PATCH] fix --- Jenkins_train | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Jenkins_train b/Jenkins_train index 97097d5..84248ce 100644 --- a/Jenkins_train +++ b/Jenkins_train @@ -8,8 +8,9 @@ pipeline { string(name: 'LR', defaultValue: '0.01', description: 'Learning rate') } stages { - stage('checkout: Check out from version control') { - checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487194', url: 'https://git.wmi.amu.edu.pl/s487194/ium_487194']]]) + stage('checkout: Check out from version control') { + steps { + checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487194', url: 'https://git.wmi.amu.edu.pl/s487194/ium_487194']]]) } } stage('Pull Docker image') { @@ -36,3 +37,4 @@ pipeline { } } +