From 5e4e95dc608afa2a1c52e14d7356178068d135a3 Mon Sep 17 00:00:00 2001 From: Witold Woch Date: Fri, 12 May 2023 20:22:33 +0200 Subject: [PATCH] fix1 --- Jenkins_train | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Jenkins_train b/Jenkins_train index 4006875..de04c17 100644 --- a/Jenkins_train +++ b/Jenkins_train @@ -8,9 +8,8 @@ pipeline { string(name: 'LR', defaultValue: '0.01', description: 'Learning rate') } stages { - stage('Git Checkout') { - steps { - git branch: 'main', url: 'https://git.wmi.amu.edu.pl/s487194/ium_487194' + stage('checkout: Check out from version control') { + checkout([$class: 'GitSCM', branches: [[name: '*/master']], extensions: [], userRemoteConfigs: [[credentialsId: 's487194', url: 'https://git.wmi.amu.edu.pl/s487197/ium_487194']]]) } } stage('Pull Docker image') {