From 7486544762fd14b9580e017cca351272da4f8ab9 Mon Sep 17 00:00:00 2001 From: Dmitry Maklygin Date: Wed, 12 Jul 2023 19:54:44 +0300 Subject: [PATCH] chore: tbs --- .github/workflows/test-jira-deployment.yaml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-jira-deployment.yaml b/.github/workflows/test-jira-deployment.yaml index 83801fe09b5..3a2dd9636ab 100644 --- a/.github/workflows/test-jira-deployment.yaml +++ b/.github/workflows/test-jira-deployment.yaml @@ -155,12 +155,15 @@ jobs: "client_id": "'${CLIENT_ID}'", "client_secret": "'${CLIENT_SECRET}'", "audience": "api.atlassian.com" - }' | \ - jq --raw-output '.access_token' + }' ) + # | \ + # jq --raw-output '.access_token' + + echo "$ACCESS_TOKEN" # Check if ACCESS_TOKEN is empty - if [ -n "$ACCESS_TOKEN" ]; then + if [ -z "$ACCESS_TOKEN" ]; then echo "Error: ACCESS_TOKEN is empty or null" exit 1 fi