Skip to content

Commit 8563a29

Browse files
committed
updated working directory.
1 parent 590e4f7 commit 8563a29

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

azure/common/deploy-stage.yml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff 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'

0 commit comments

Comments
 (0)