File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed
Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -273,18 +273,15 @@ stages:
273273
274274 - bash : |
275275
276- export SERVICE_ARTIFACT_NAME=`ls -t $(Pipeline.Workspace)/s/${{ parameters.service_name }}`
277- echo "##vso[task.setvariable variable=SERVICE_ARTIFACT_NAME]$SERVICE_ARTIFACT_NAME"
278- echo "Set Artifact Name of: $SERVICE_ARTIFACT_NAME"
276+ set -euo pipefail
279277
280- cd /utils/scripts
281278 pip install pyyaml
282279 pip install json
283280 pip install boto3
284281
285282 python copy_spec.py "nhsd-apm-management-ptl-proxygen" "${{ parameters.service_name }}" "$(System.DefaultWorkingDirectory)"
286283 displayName: Copy Spec
287- workingDirectory: $(Pipeline.Workspace)/s/${{ parameters.service_name }}//$(SERVICE_ARTIFACT_NAME)
284+ workingDirectory: $(Pipeline.Workspace)/s/${{ parameters.service_name }}//$(SERVICE_ARTIFACT_NAME)/utils/scripts
288285
289286 - ${{ if parameters.notify }} :
290287 - template : ' ../components/update-github-status.yml'
You can’t perform that action at this time.
0 commit comments