This is an automated email from the ASF dual-hosted git repository.
areusch 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 4216cd7 Add params.* to Jenkins file parameters (#8771)
4216cd7 is described below
commit 4216cd7f9d06a7feb712e78892061721410cc224
Author: Leandro Nunes <[email protected]>
AuthorDate: Tue Aug 17 23:48:26 2021 +0100
Add params.* to Jenkins file parameters (#8771)
* Prefix all parameters with params.* so that it checks
whether parameters exist before using them
* This is a follow-up fix on #8721 so that existing PRs work
without being re-triggered manually twice
---
Jenkinsfile | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 92b34f8..c366106 100755
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -125,13 +125,13 @@ cancel_previous_build()
stage('Prepare') {
node('CPU') {
// When something is provided in ci_*_param, use it, otherwise default
with ci_*
- ci_lint = ci_lint_param ?: ci_lint
- ci_cpu = ci_cpu_param ?: ci_cpu
- ci_gpu = ci_gpu_param ?: ci_gpu
- ci_wasm = ci_wasm_param ?: ci_wasm
- ci_i386 = ci_i386_param ?: ci_i386
- ci_qemu = ci_qemu_param ?: ci_qemu
- ci_arm = ci_arm_param ?: ci_arm
+ ci_lint = params.ci_lint_param ?: ci_lint
+ ci_cpu = params.ci_cpu_param ?: ci_cpu
+ ci_gpu = params.ci_gpu_param ?: ci_gpu
+ ci_wasm = params.ci_wasm_param ?: ci_wasm
+ ci_i386 = params.ci_i386_param ?: ci_i386
+ ci_qemu = params.ci_qemu_param ?: ci_qemu
+ ci_arm = params.ci_arm_param ?: ci_arm
sh """
echo "Docker images being used in this build:"