From 3e8adb3984ba8f9c143eccf2e1df1c30059ed9be Mon Sep 17 00:00:00 2001 From: Aaryamann Challani <43716372+rymnc@users.noreply.github.com> Date: Mon, 15 May 2023 21:55:25 +0530 Subject: [PATCH] fix(ci): remove target flag from docker command (#1725) * fix(ci): remove target flag from docker command * fix(ci): add additional debug flag to rollout debug images to fleets --- ci/Jenkinsfile.release | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/Jenkinsfile.release b/ci/Jenkinsfile.release index 81cc1441e..8e5ee3d66 100644 --- a/ci/Jenkinsfile.release +++ b/ci/Jenkinsfile.release @@ -41,6 +41,11 @@ pipeline { description: 'Enable experimental features.', defaultValue: false ) + booleanParam( + name: 'DEBUG', + description: 'Enable debug features (heaptrack).', + defaultValue: false + ) } stages { @@ -52,7 +57,7 @@ pipeline { "--build-arg=MAKE_TARGET='${params.MAKE_TARGET}' " + "--build-arg=NIMFLAGS='${params.NIMFLAGS}' " + "--build-arg=EXPERIMENTAL='${params.EXPERIMENTAL}' " + - "--target=${params.EXPERIMENTAL ? "experimental" : "prod"} ." + "--target=${params.DEBUG ? "debug" : "prod"} ." ) } } }