Passes JIRA card number to merge-reports
Ensures the JIRA card number is available as an environment variable during the playwright merge-reports process. This allows the reports to be tagged with the correct JIRA ticket.
This commit is contained in:
parent
d82e1780cd
commit
d053a49f41
1 changed files with 3 additions and 2 deletions
|
|
@ -256,8 +256,9 @@ jobs:
|
||||||
echo 'Moving Playwright reports out of subfolders...'
|
echo 'Moving Playwright reports out of subfolders...'
|
||||||
find ./playwright-reports/ -mindepth 2 -type f -exec mv {} ./playwright-reports/ \;
|
find ./playwright-reports/ -mindepth 2 -type f -exec mv {} ./playwright-reports/ \;
|
||||||
echo 'Merging reports...'
|
echo 'Merging reports...'
|
||||||
PLAYWRIGHT_JUNIT_OUTPUT_DIR='/app/test-results' PLAYWRIGHT_JUNIT_OUTPUT_NAME='junit_results.xml' npx --prefix $PLAYWRIGHT_PATH playwright merge-reports --config=$PLAYWRIGHT_PATH/playwright.config.ts ./playwright-reports
|
echo 'Value of JIRA_CARD_NUMBER in bash -c command: $JIRA_CARD_NUMBER'
|
||||||
"
|
JIRA_CARD_NUMBER='$JIRA_CARD_NUMBER' PLAYWRIGHT_JUNIT_OUTPUT_DIR='/app/test-results' PLAYWRIGHT_JUNIT_OUTPUT_NAME='junit_results.xml' npx --prefix $PLAYWRIGHT_PATH playwright merge-reports --config=$PLAYWRIGHT_PATH/playwright.config.ts ./playwright-reports
|
||||||
|
"
|
||||||
)
|
)
|
||||||
|
|
||||||
# Start container and stream logs
|
# Start container and stream logs
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue