Skip to content

Commit 5750e0d

Browse files
authored
fix: Remove powershell sub command while building windows images (#1583)
* fix: Remove retry from Windows pipelines * Adding in make command for windows NPM * fixing an issue with retry * adding a retry on task * fix: remove sub powershell command for windows builds
1 parent 1c43a5c commit 5750e0d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.pipelines/containers/container-template-windows.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ steps:
1313

1414
- powershell: |
1515
echo "using tag ${{ parameters.tag }}"
16-
powershell.exe -command "& { . .\build\scripts\windows.ps1; ${{ parameters.name }}-image windows-${{ parameters.arch }}-${{ parameters.tag }} }"
16+
. .\build\scripts\windows.ps1; ${{ parameters.name }}-image windows-${{ parameters.arch }}-${{ parameters.tag }}
1717
name: image_build
1818
displayName: Image Build
1919
retryCountOnTaskFailure: 3

0 commit comments

Comments
 (0)