Skip to content

Commit

Permalink
Update runtests.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
marcschier authored May 18, 2024
1 parent 06f2a2d commit 6e68243
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tools/e2etesting/steps/runtests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -109,8 +109,7 @@ steps:
workingDirectory: '$(BasePath)\e2e-tests'
addSpnToEnvironment: true
inlineScript: |
[[ -z "${PCS_AUTH_TENANT}" ]] || export PCS_AUTH_TENANT=${tenantId}
export AZURE_FEDERATED_TOKEN_FILE=idtoken
[[ -z "${PCS_AUTH_TENANT}" ]] || export PCS_AUTH_TENANT=${ServicePrincipalTenantId}
cat ${ServicePrincipalAccessToken}>${AZURE_FEDERATED_TOKEN_FILE}
dotnet test IIoTPlatform-E2E-Tests.sln \
--configuration Release \
Expand Down Expand Up @@ -145,6 +144,9 @@ steps:
TESTEVENTPROCESSOR_USERNAME: '$(testeventprocessor-username)'
TESTEVENTPROCESSOR_PASSWORD: '$(testeventprocessor-password)'
AZURE_FEDERATED_TOKEN_FILE: idtoken
AZURE_CLIENT_ID: "$(ServicePrincipalId)"
AZURE_CLIENT_SECRET: "$(ServicePrincipalKey)"
AZURE_TENANT_ID: "$(ServicePrincipalTenantId)"
- task: PublishTestResults@2
displayName: 'Publish test results'
condition: always()
Expand Down

0 comments on commit 6e68243

Please sign in to comment.