You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tvm.apache.org by ar...@apache.org on 2022/05/13 00:52:12 UTC

[tvm] branch areusch/freeze-dependencies updated: more jenkinsfile fixes

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

areusch pushed a commit to branch areusch/freeze-dependencies
in repository https://gitbox.apache.org/repos/asf/tvm.git


The following commit(s) were added to refs/heads/areusch/freeze-dependencies by this push:
     new e4bcb2a57e more jenkinsfile fixes
e4bcb2a57e is described below

commit e4bcb2a57ed18ba864482a210bf6b266619c06fe
Author: Andrew Reusch <ar...@gmail.com>
AuthorDate: Thu May 12 17:51:58 2022 -0700

    more jenkinsfile fixes
---
 Jenkinsfile            | 10 +++++-----
 jenkins/Jenkinsfile.j2 |  8 ++++----
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/Jenkinsfile b/Jenkinsfile
index 571755386c..6e7ab94515 100755
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -45,7 +45,7 @@
 // 'python3 jenkins/generate.py'
 // Note: This timestamp is here to ensure that updates to the Jenkinsfile are
 // always rebased on main before merging:
-// Generated at 2022-05-12T17:17:57.947606
+// Generated at 2022-05-12T17:51:52.448991
 
 import org.jenkinsci.plugins.pipeline.modeldefinition.Utils
 // NOTE: these lines are scanned by docker/dev_common.sh. Please update the regex as needed. -->
@@ -332,9 +332,9 @@ def build_base_image(arch_name) {
     script: "docker/build-base-images.sh ${arch_name}",
     label: "Build base image for ${arch_name}"
   )
-  archiveArtifacts artifacts: 'docker/build/base_${arch_name}/**', fingerprint: true
-  def files = findFiles(glob: 'docker/build/base_${arch_name}/**')
-  pack_lib('${arch_name}-lockfiles', files.join(', '))
+  archiveArtifacts artifacts: "docker/build/base_${arch_name}/**", fingerprint: true
+  def files = findFiles(glob: "docker/build/base_${arch_name}/**")
+  pack_lib("${arch_name}-lockfiles", files.join(', '))
 }
 
 def build_image(arch_name, image_name) {
@@ -343,7 +343,7 @@ def build_image(arch_name, image_name) {
     script: 'git log -1 --format=\'%h\''
   ).trim()
   def full_name = "${image_name}:${env.BRANCH_NAME}-${hash}-${env.BUILD_NUMBER}"
-  unpack_lib('${arch_name}-lockfiles')
+  unpack_lib("${arch_name}-lockfiles")
   sh(
     script: "${docker_build} ${image_name} --spec ${full_name}",
     label: 'Build docker image'
diff --git a/jenkins/Jenkinsfile.j2 b/jenkins/Jenkinsfile.j2
index 84015dde2c..3579675f14 100644
--- a/jenkins/Jenkinsfile.j2
+++ b/jenkins/Jenkinsfile.j2
@@ -249,9 +249,9 @@ def build_base_image(arch_name) {
     script: "docker/build-base-images.sh ${arch_name}",
     label: "Build base image for ${arch_name}"
   )
-  archiveArtifacts artifacts: 'docker/build/base_${arch_name}/**', fingerprint: true
-  def files = findFiles(glob: 'docker/build/base_${arch_name}/**')
-  pack_lib('${arch_name}-lockfiles', files.join(', '))
+  archiveArtifacts artifacts: "docker/build/base_${arch_name}/**", fingerprint: true
+  def files = findFiles(glob: "docker/build/base_${arch_name}/**")
+  pack_lib("${arch_name}-lockfiles", files.join(', '))
 }
 
 def build_image(arch_name, image_name) {
@@ -260,7 +260,7 @@ def build_image(arch_name, image_name) {
     script: 'git log -1 --format=\'%h\''
   ).trim()
   def full_name = "${image_name}:${env.BRANCH_NAME}-${hash}-${env.BUILD_NUMBER}"
-  unpack_lib('${arch_name}-lockfiles')
+  unpack_lib("${arch_name}-lockfiles")
   sh(
     script: "${docker_build} ${image_name} --spec ${full_name}",
     label: 'Build docker image'