From 9106d9d4eebcdc9361e766df06cf7f80ed20757c Mon Sep 17 00:00:00 2001 From: Mateusz Date: Sat, 26 Mar 2022 11:47:48 +0100 Subject: [PATCH] jenkins clone repo simpler --- Jenkinsfile | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/Jenkinsfile b/Jenkinsfile index 6fd7eef..933b188 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -8,12 +8,7 @@ pipeline { } stage('Checkout') { steps { - script { - git credentialsId: 's444498', url: 'https://git.wmi.amu.edu.pl/s444498/ium_444498.git' - sh "ls -lart ./*" - sh "git branch -a" - sh "git checkout master" - } + git 'https://git.wmi.amu.edu.pl/s444498/ium_444498.git' } } }