From 5885a2555512cdb026cca79b376d9bc62f797112 Mon Sep 17 00:00:00 2001 From: Cameron Meissner Date: Fri, 15 Nov 2024 15:40:57 -0800 Subject: [PATCH] chore: refactor --- .pipelines/templates/.builder-release-template.yaml | 1 + vhdbuilder/packer/test-scan-and-cleanup.sh | 1 + 2 files changed, 2 insertions(+) diff --git a/.pipelines/templates/.builder-release-template.yaml b/.pipelines/templates/.builder-release-template.yaml index 7451dfd453..a222174b02 100644 --- a/.pipelines/templates/.builder-release-template.yaml +++ b/.pipelines/templates/.builder-release-template.yaml @@ -160,6 +160,7 @@ steps: SYSTEM_TEAMPROJECT: $(System.TeamProject) BUILD_RUN_NUMBER: $(Build.BuildNumber) VHD_ARTIFACT_NAME: ${{ parameters.artifactName }} + DRY_RUN: $(DRY_RUN) - task: PublishPipelineArtifact@0 condition: always() diff --git a/vhdbuilder/packer/test-scan-and-cleanup.sh b/vhdbuilder/packer/test-scan-and-cleanup.sh index a7afa545a5..d2e46a3a9d 100755 --- a/vhdbuilder/packer/test-scan-and-cleanup.sh +++ b/vhdbuilder/packer/test-scan-and-cleanup.sh @@ -14,6 +14,7 @@ required_env_vars=( "UMSI_CLIENT_ID" "BUILD_RUN_NUMBER" "VHD_ARTIFACT_NAME" + "DRY_RUN" ) for v in "${required_env_vars[@]}"; do