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') {