diff --git a/buildscripts/scripts/build-cmk-packages.groovy b/buildscripts/scripts/build-cmk-packages.groovy index 27d52cb30e5..15d25ecb87c 100644 --- a/buildscripts/scripts/build-cmk-packages.groovy +++ b/buildscripts/scripts/build-cmk-packages.groovy @@ -159,7 +159,7 @@ def main() { def win_project_name = "${jenkins_base_folder}/winagt-build"; def win_py_project_name = "${jenkins_base_folder}/winagt-build-modules"; - stage("Build agent artifacts fast") { + conditional_stage("Build agent artifacts fast", !params.FAKE_WINDOWS_ARTIFACTS) { inside_container(ulimit_nofile: 1024) { dir("${checkout_dir}") { // Initialize our virtual environment before parallelization