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

masahi 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 84e4657  [skip ci][ci] Fix outdated Jenkinsfile (#10822)
84e4657 is described below

commit 84e46579cc499b1dc528b5eb5d3acb53a3a3ed0f
Author: driazati <[email protected]>
AuthorDate: Tue Mar 29 17:12:13 2022 -0700

    [skip ci][ci] Fix outdated Jenkinsfile (#10822)
    
    Co-authored-by: driazati <[email protected]>
---
 Jenkinsfile | 18 ------------------
 1 file changed, 18 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 0a02f95..fdcaa63 100755
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -82,7 +82,6 @@ tvm_multilib = 'build/libtvm.so, ' +
 
 tvm_multilib_tsim = 'build/libvta_tsim.so, ' +
                tvm_multilib
-upstream_revision = null
 
 // command to start a docker container
 docker_run = 'docker/bash.sh'
@@ -103,23 +102,6 @@ def init_git() {
     script: './tests/scripts/task_show_node_info.sh',
     label: 'Show executor node info',
   )
-
-  // Determine merge commit to use for all stages
-  sh(
-    script: 'git fetch origin main',
-    label: 'Fetch upstream',
-  )
-  if (upstream_revision == null) {
-    upstream_revision = sh(
-      script: 'git log -1 FETCH_HEAD --format=\'%H\'',
-      label: 'Determine upstream revision',
-      returnStdout: true,
-    ).trim()
-  }
-  sh (
-    script: "git merge ${upstream_revision}",
-    label: 'Merge to origin/main'
-  )
   retry(5) {
     timeout(time: 2, unit: 'MINUTES') {
       sh (script: 'git submodule update --init -f', label: 'Update git 
submodules')

Reply via email to