Skip to content

Commit 054dda9

Browse files
scottbellsonartech
authored andcommitted
SONAR-26262 Ensure user has PAT before trying to bind projects on GitLab or AzureDevOps
1 parent ab84ee2 commit 054dda9

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/ci-files/run-qa.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,8 @@ fi
8080
set +e
8181

8282
./gradlew $BUILD_TASK \
83+
-Dazure.pat="${AZURE_PAT}" \
84+
-Dgitlab.pat="${GITLAB_PAT}" \
8385
-Pqa \
8486
--console plain --build-cache --parallel --profile -x jar
8587

@@ -89,6 +91,8 @@ set +e
8991
-DbuildNumber=$BUILD_NUMBER \
9092
-Dcategory=$QA_CATEGORY \
9193
-Dorchestrator.configUrl=file:///$GITHUB_WORKSPACE/.github/ci-files/config/orchestrator-$ORCHESTRATOR_CONFIG.properties \
94+
-Dazure.pat="${AZURE_PAT}" \
95+
-Dgitlab.pat="${GITLAB_PAT}" \
9296
-Pqa \
9397
--console plain --build-cache --profile -x jar
9498

0 commit comments

Comments
 (0)