Attempt #2
This commit is contained in:
parent
e7284d4434
commit
35ee6789a7
1 changed files with 11 additions and 10 deletions
|
|
@ -41,15 +41,16 @@ variables:
|
|||
stages:
|
||||
# PR's
|
||||
- ${{ if or(eq(variables['Build.Reason'], 'PullRequest'), eq(1,1)) }}: # TODO: Temporarily changed to always be true, change back
|
||||
- stage: TestPr
|
||||
displayName: Run Tests For PullRequest
|
||||
jobs:
|
||||
- template: templates/digital/vue-jest-run-unit-tests.yml@AzureDevOps
|
||||
parameters:
|
||||
nodeContainer: node
|
||||
npmLocation: $(Build.SourcesDirectory)
|
||||
testResultsFile: junit.xml
|
||||
summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml
|
||||
# TODO: Temporarily commented out
|
||||
# - stage: TestPr
|
||||
# displayName: Run Tests For PullRequest
|
||||
# jobs:
|
||||
# - template: templates/digital/vue-jest-run-unit-tests.yml@AzureDevOps
|
||||
# parameters:
|
||||
# nodeContainer: node
|
||||
# npmLocation: $(Build.SourcesDirectory)
|
||||
# testResultsFile: junit.xml
|
||||
# summaryFileLocation: $(Build.SourcesDirectory)/coverage/cobertura-coverage.xml
|
||||
- job: playwright_tests
|
||||
continueOnError: true
|
||||
strategy:
|
||||
|
|
@ -148,7 +149,7 @@ stages:
|
|||
env:
|
||||
PLAYWRIGHT_JUNIT_OUTPUT_FILE: "test-results/results.xml"
|
||||
- script: |
|
||||
$(System.DefaultWorkingDirectory)/jira_writeback.sh
|
||||
$(System.DefaultWorkingDirectory)/devops/scripts/jira_writeback.sh
|
||||
add_comment() $(Build.SourceBranchName) "AUTOMATED TEST RUN: $(date)" $(System.DefaultWorkingDirectory)/ortoni-report/index.html
|
||||
displayName: publish_results_to_jira
|
||||
env:
|
||||
|
|
|
|||
Loading…
Reference in a new issue