This is an automated email from the ASF dual-hosted git repository.

tqchen pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/main by this push:
     new 29da763  [CI] make sure submodule checkout in clean state (#7228)
29da763 is described below

commit 29da763ed373983982e11246a5882e0fab89a5b3
Author: Tianqi Chen <[email protected]>
AuthorDate: Fri Jan 8 08:17:38 2021 -0500

    [CI] make sure submodule checkout in clean state (#7228)
---
 Jenkinsfile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 81439e9..67a41cd 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -80,7 +80,7 @@ def init_git() {
   checkout scm
   retry(5) {
     timeout(time: 2, unit: 'MINUTES') {
-      sh 'git submodule update --init'
+      sh 'git submodule update --init -f'
     }
   }
 }
@@ -89,7 +89,7 @@ def init_git_win() {
     checkout scm
     retry(5) {
         timeout(time: 2, unit: 'MINUTES') {
-            bat 'git submodule update --init'
+            bat 'git submodule update --init -f'
         }
     }
 }

Reply via email to