Skip to content

Commit 44a4773

Browse files
committed
chore: Update ADO pipeline
1 parent 5220c9d commit 44a4773

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

ci/ado/azure-pipelines.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,8 @@ jobs:
102102
- pwsh: |
103103
Write-Host "Testing @fortify/setup ${{ parameters.VERSION }} bootstrap with ADO approach"
104104
npx @fortify/setup@v2 env init --tools=fcli:bootstrapped
105-
npx @fortify/setup@v2 env ado
105+
npx @fortify/setup@v2 env ado --output-as=pwsh | Out-String | Invoke-Expression
106+
& $env:FCLI_CMD --version
106107
displayName: 'Test 2: ADO approach - Initialize'
107108
env:
108109
FCLI_BOOTSTRAP_VERSION: ${{ parameters.FCLI_VERSION }}
@@ -133,7 +134,8 @@ jobs:
133134
FCLI_BOOTSTRAP_VERSION: ${{ parameters.FCLI_VERSION }}
134135
135136
- bash: |
136-
npx @fortify/setup@v2 env ado
137+
source <(npx @fortify/setup@v2 env ado --output-as=bash)
138+
"${FCLI_CMD:-fcli}" --version
137139
displayName: 'Test 2: ADO approach - Set env'
138140
139141
- bash: |

0 commit comments

Comments
 (0)