-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
5e9d90a
commit 55992ea
Showing
4 changed files
with
29 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,20 @@ | ||
steps: | ||
- bash: | | ||
export RELEASE_RELEASEID=$(Build.BuildId) | ||
export SOURCE_COMMIT_ID=$(Build.SourceVersion) | ||
export APIGEE_ENVIRONMENT="$(ENVIRONMENT)" | ||
export SERVICE_BASE_PATH="$(SERVICE_BASE_PATH)" | ||
export STATUS_ENDPOINT_API_KEY="$(status-endpoint-api-key)" | ||
export APIGEE_PRODUCT="$(FULLY_QUALIFIED_SERVICE_NAME)" | ||
export OAUTH_PROXY="oauth2" | ||
export OAUTH_BASE_URI="https://$(ENVIRONMENT).api.service.nhs.uk" | ||
make smoketest | ||
workingDirectory: $(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME) | ||
displayName: run smoketests | ||
- bash: | | ||
export RELEASE_RELEASEID=$(Build.BuildId) | ||
export SOURCE_COMMIT_ID=$(Build.SourceVersion) | ||
export APIGEE_ENVIRONMENT="$(ENVIRONMENT)" | ||
export SERVICE_BASE_PATH="$(SERVICE_BASE_PATH)" | ||
export STATUS_ENDPOINT_API_KEY="$(status-endpoint-api-key)" | ||
export APIGEE_PRODUCT="$(FULLY_QUALIFIED_SERVICE_NAME)" | ||
export OAUTH_PROXY="oauth2-mock" | ||
export OAUTH_BASE_URI="https://$(ENVIRONMENT).api.service.nhs.uk" | ||
make smoketest | ||
workingDirectory: $(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME) | ||
displayName: run smoketests | ||
- task: PublishTestResults@2 | ||
displayName: 'Publish smoketest results' | ||
condition: always() | ||
inputs: | ||
testResultsFiles: '$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/smoketest-report.xml' | ||
failTaskOnFailedTests: true | ||
- task: PublishTestResults@2 | ||
displayName: 'Publish smoketest results' | ||
condition: always() | ||
inputs: | ||
testResultsFiles: '$(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)/smoketest-report.xml' | ||
failTaskOnFailedTests: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters