From d4b95b1d2981eb94046b51410f349b61a60d7832 Mon Sep 17 00:00:00 2001 From: Andrew Reusch Date: Thu, 12 Aug 2021 14:31:35 -0700 Subject: [PATCH] =?UTF-8?q?is=20prod=20Jenkins=20too=20old=20to=20set=20CI?= =?UTF-8?q?=3D=3F=3F=3F?= --- Jenkinsfile | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/Jenkinsfile b/Jenkinsfile index 357594c8fe35..3a58b0312cda 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -108,6 +108,9 @@ def cancel_previous_build() { cancel_previous_build() stage("Sanity Check") { + environment { + CI = 'true' + } timeout(time: max_time, unit: 'MINUTES') { node('CPU') { ws(per_exec_ws("tvm/sanity")) { @@ -160,6 +163,9 @@ def unpack_lib(name, libs) { } stage('Build') { + environment { + CI = 'true' + } parallel 'BUILD: GPU': { node('GPUBUILD') { ws(per_exec_ws("tvm/build-gpu")) { @@ -244,6 +250,9 @@ stage('Build') { } stage('Unit Test') { + environment { + CI = 'true' + } parallel 'python3: GPU': { node('TensorCore') { ws(per_exec_ws("tvm/ut-python-gpu")) { @@ -303,6 +312,9 @@ stage('Unit Test') { } stage('Integration Test') { + environment { + CI = 'true' + } parallel 'topi: GPU': { node('GPU') { ws(per_exec_ws("tvm/topi-python-gpu")) { @@ -359,6 +371,9 @@ stage('Integration Test') { /* stage('Build packages') { + environment { + CI = 'true' + } parallel 'conda CPU': { node('CPU') { sh "${docker_run} tlcpack/conda-cpu ./conda/build_cpu.sh @@ -376,6 +391,9 @@ stage('Build packages') { */ stage('Deploy') { + environment { + CI = 'true' + } node('doc') { ws(per_exec_ws("tvm/deploy-docs")) { if (env.BRANCH_NAME == "main") {