From 04dd0ce66a26341c2478db97eaa5e4cfc9d418d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20K=C3=BChnel?= Date: Wed, 11 Dec 2019 17:10:00 +0000 Subject: [PATCH] revert of git checkout script --- Jenkins/master-windows-pipeline/Jenkinsfile | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/Jenkins/master-windows-pipeline/Jenkinsfile b/Jenkins/master-windows-pipeline/Jenkinsfile index 53cc709..d42d917 100644 --- a/Jenkins/master-windows-pipeline/Jenkinsfile +++ b/Jenkins/master-windows-pipeline/Jenkinsfile @@ -25,16 +25,7 @@ pipeline { stages { stage("git checkout"){ steps { - // test to see if this is faster then Jenkins own git command... - powershell """ - if (Test-Path .git -PathType Container) { - git clean -fdx - git pull - #TODO: in case of errors: delete the folder and `git clone` - } else { - git clone --depth=1 https://github.com/llvm/llvm-project - } - """ + git url: 'https://github.com/llvm/llvm-project.git' powershell 'New-Item -ItemType Directory -Force -Path llvm-premerge-checks' powershell 'New-Item -ItemType Directory -Force -Path ${TARGET_DIR}' dir("llvm-premerge-checks")