Fix PowerShell syntax error in zip creation step
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Vendored
+1
-1
@@ -63,7 +63,7 @@ pipeline {
|
|||||||
[System.IO.Compression.ZipFileExtensions]::CreateEntryFromFile($zip, $_.FullName, $entryName, "Optimal") | Out-Null
|
[System.IO.Compression.ZipFileExtensions]::CreateEntryFromFile($zip, $_.FullName, $entryName, "Optimal") | Out-Null
|
||||||
}
|
}
|
||||||
$zip.Dispose()
|
$zip.Dispose()
|
||||||
Write-Host "Created deploy.zip with $(($zip = [System.IO.Compression.ZipFile]::OpenRead('deploy.zip'); $zip.Entries.Count; $zip.Dispose())) entries using forward-slash paths"
|
Write-Host "deploy.zip created with forward-slash entry paths"
|
||||||
'''
|
'''
|
||||||
withCredentials([azureServicePrincipal(
|
withCredentials([azureServicePrincipal(
|
||||||
credentialsId: 'azure-pcl',
|
credentialsId: 'azure-pcl',
|
||||||
|
|||||||
Reference in New Issue
Block a user