diff --git a/Jenkinsfile b/Jenkinsfile index 1d535eaed4197..bd71e4ce84b16 100755 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -173,26 +173,30 @@ stage('Prepare') { } } -stage('Sanity Check') { - timeout(time: max_time, unit: 'MINUTES') { - node('CPU') { - ws(per_exec_ws('tvm/sanity')) { - init_git() - is_docs_only_build = sh ( - returnStatus: true, - script: './tests/scripts/git_change_docs.sh', - label: 'Check for docs only changes', - ) - skip_ci = should_skip_ci(env.CHANGE_ID) - skip_slow_tests = should_skip_slow_tests(env.CHANGE_ID) - sh ( - script: "${docker_run} ${ci_lint} ./tests/scripts/task_lint.sh", - label: 'Run lint', - ) - } - } - } -} +// stage('Sanity Check') { +// timeout(time: max_time, unit: 'MINUTES') { +// node('CPU') { +// ws(per_exec_ws('tvm/sanity')) { +// init_git() +// is_docs_only_build = sh ( +// returnStatus: true, +// script: './tests/scripts/git_change_docs.sh', +// label: 'Check for docs only changes', +// ) +// skip_ci = should_skip_ci(env.CHANGE_ID) +// skip_slow_tests = should_skip_slow_tests(env.CHANGE_ID) +// sh ( +// script: "${docker_run} ${ci_lint} ./tests/scripts/task_lint.sh", +// label: 'Run lint', +// ) +// } +// } +// } +// } +is_docs_only_build = false +skip_slow_tests = false +skip_ci = false + // Run make. First try to do an incremental make from a previous workspace in hope to // accelerate the compilation. If something is wrong, clean the workspace and then @@ -263,10 +267,10 @@ def cmake_build(image, path, make_flag) { // so it can be easily configured withCredentials([string( credentialsId: 'tvm-sccache-bucket', - variable: 'SCCACHE_BUCKET', + variable: 'BUCKET', )]) { sh ( - script: "${docker_run} ${image} ./tests/scripts/task_build.sh ${path} ${make_flag} $SCCACHE_BUCKET", + script: "${docker_run} ${image} ./tests/scripts/task_build.sh ${path} ${make_flag} \$BUCKET", label: 'Run cmake build', ) }