Skip to content

Commit 62a5bdf

Browse files
committed
Add environment variable for service_name in apigee-build.yml check workspace step
1 parent 55390cf commit 62a5bdf

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

azure/common/apigee-build.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,10 +51,12 @@ jobs:
5151

5252
steps:
5353
- bash: |
54-
if [ -n "$(ls -A "$(Pipeline.Workspace)/s/$(service_name)" 2>/dev/null)" ]; then
54+
if [ -n "$(ls -A "$(Pipeline.Workspace)/s/$service_name" 2>/dev/null)" ]; then
5555
echo "workspace directory is not empty!"
5656
exit 1
5757
fi
58+
env:
59+
service_name: ${{ parameters.service_name }}
5860
displayName: "check workspace is clean"
5961
6062
- bash: |

0 commit comments

Comments
 (0)