diff --git a/Jenkins/Phabricator-pipeline/Jenkinsfile b/Jenkins/Phabricator-pipeline/Jenkinsfile index 8f04ed4..646b727 100644 --- a/Jenkins/Phabricator-pipeline/Jenkinsfile +++ b/Jenkins/Phabricator-pipeline/Jenkinsfile @@ -31,6 +31,7 @@ pipeline { stage("git checkout"){ steps { git url: 'https://github.com/llvm/llvm-project.git' + sh 'git clean -fdx' sh 'mkdir -p llvm-premerge-checks' dir("llvm-premerge-checks") { diff --git a/Jenkins/master-pipeline/Jenkinsfile b/Jenkins/master-pipeline/Jenkinsfile index 541eaa5..3d7c004 100644 --- a/Jenkins/master-pipeline/Jenkinsfile +++ b/Jenkins/master-pipeline/Jenkinsfile @@ -21,6 +21,7 @@ pipeline { stage("git checkout"){ steps { git url: 'https://github.com/llvm/llvm-project.git' + sh 'git clean -fdx' sh 'mkdir -p llvm-premerge-checks' dir("llvm-premerge-checks") { diff --git a/scripts/phabtalk/apply_patch.py b/scripts/phabtalk/apply_patch.py index 7d6d5af..cb0c64b 100755 --- a/scripts/phabtalk/apply_patch.py +++ b/scripts/phabtalk/apply_patch.py @@ -38,7 +38,6 @@ def _get_parent_hash(diff_id: str, phab:Phabricator) -> str: def _git_checkout(git_hash:str): subprocess.check_call('git reset --hard {}'.format(git_hash), shell=True) - subprocess.check_call('git clean -fdx', shell=True) def _apply_patch(diff_id: str, conduit_token: str, host: str):