From a0effa87f23dbb1c0ce30fca039b6d08551e0bc1 Mon Sep 17 00:00:00 2001 From: Aditi Agarwal Date: Mon, 20 Apr 2026 11:53:09 +0000 Subject: [PATCH] Merged in feature/FixplaceholderIssue (pull request #977) Remove curly braces from echo statements in dev->stg * Remove curly brances from echo statements in dev->stg * Removed curly braces in echo statements in feature-> dev gate Approved-by: Sujit Deokar --- bitbucket-pipelines.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/bitbucket-pipelines.yml b/bitbucket-pipelines.yml index cee2945..d5e7ab1 100644 --- a/bitbucket-pipelines.yml +++ b/bitbucket-pipelines.yml @@ -217,13 +217,13 @@ pipelines: TARGET_BRANCH="${BITBUCKET_PR_DESTINATION_BRANCH}" # Gate: feature branches can only target dev ALLOWED="dev" - echo "Source: ${SOURCE_BRANCH}" - echo "Target: ${TARGET_BRANCH} (allowed: ${ALLOWED})" + echo "Source: $SOURCE_BRANCH" + echo "Target: $TARGET_BRANCH (allowed: $ALLOWED)" IFS=',' read -ra targets <<< "$ALLOWED" for t in "${targets[@]}"; do [ "${TARGET_BRANCH}" = "$t" ] && exit 0 done - echo "BLOCKED: target must be one of: ${ALLOWED}"; exit 1 + echo "BLOCKED: target must be one of: $ALLOWED"; exit 1 - step: *ai-code-review # ------------------------------------------------------------------------- @@ -300,8 +300,8 @@ pipelines: TARGET_BRANCH="${BITBUCKET_PR_DESTINATION_BRANCH}" # Gate: dev can only be promoted to stg ALLOWED="stg" - echo "Source: ${SOURCE_BRANCH}" - echo "Target: ${TARGET_BRANCH} (allowed: ${ALLOWED})" + echo "Source: $SOURCE_BRANCH" + echo "Target: $TARGET_BRANCH (allowed: $ALLOWED)" IFS=',' read -ra targets <<< "$ALLOWED" for t in "${targets[@]}"; do [ "${TARGET_BRANCH}" = "$t" ] && exit 0