Skip to content

Commit 8c294b4

Browse files
pwd when installing in pipeline (#25834)
## Description I wanted to check which workspace was producing the unapporved scripts warning in https://dev.azure.com/fluidframework/internal/_build/results?buildId=363790&view=logs&j=336c0fe9-169e-5c8f-4859-d4f7d822aab8&t=fad73df2-95c8-584a-7f9a-32136d7dfe26 but its unclear. This changes adds `pwd` to that script which should allow figuring out which directory is being installed in and thus which workspace it is from the log.
1 parent 8be7274 commit 8c294b4

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

tools/pipelines/build-docs.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -306,6 +306,8 @@ stages:
306306
workingDirectory: $(Build.SourcesDirectory)/docs
307307
script: |
308308
set -eu -o pipefail
309+
# Ensure it's easy to tell which workspace this is running in by inspecting the logs
310+
pwd
309311
pnpm i --frozen-lockfile
310312
311313
- task: Npm@1

tools/pipelines/deploy-website.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,8 @@ stages:
126126
workingDirectory: $(Build.SourcesDirectory)/docs
127127
script: |
128128
set -eu -o pipefail
129+
# Ensure it's easy to tell which workspace this is running in by inspecting the logs
130+
pwd
129131
pnpm i --frozen-lockfile
130132
131133
- task: Npm@1
@@ -261,6 +263,8 @@ stages:
261263
workingDirectory: $(Build.SourcesDirectory)/docs
262264
script: |
263265
set -eu -o pipefail
266+
# Ensure it's easy to tell which workspace this is running in by inspecting the logs
267+
pwd
264268
pnpm i --frozen-lockfile
265269
266270
- task: Npm@1

0 commit comments

Comments
 (0)