File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -6,23 +6,24 @@ parameters:
66steps :
77 - bash : |
88 make install-python
9- workingDirectory: $(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)
10- displayName: Setup pytests
119
12- - bash : |
1310 export PROXY_NAME="$(FULLY_QUALIFIED_SERVICE_NAME)"
1411 export APIGEE_ACCESS_TOKEN="$(secret.AccessToken)"
1512 export SOURCE_COMMIT_ID="$(Build.SourceVersion)"
13+ workingDirectory: $(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)
14+ displayName: Setup pytests
1615
17- if [ "${{ parameters.production }}" = "true" ]; then
18- echo "Running smoketest-prod"
19- make smoketest-prod
20- else
21- echo "Running smoketest"
22- make smoketest
23- fi
16+ - bash : |
17+ make smoketest-prod
18+ condition: eq(${{ parameters.production }}, true)
19+ workingDirectory: $(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)
20+ displayName: Run smoketest-prod
21+
22+ - bash : |
23+ make smoketest
24+ condition: ne(${{ parameters.production }}, true)
2425 workingDirectory: $(Pipeline.Workspace)/s/$(SERVICE_NAME)/$(SERVICE_ARTIFACT_NAME)
25- displayName: run smoketests
26+ displayName: Run smoketest
2627
2728 - task : PublishTestResults@2
2829 displayName : ' Publish smoketest results'
You can’t perform that action at this time.
0 commit comments