zip update

This commit is contained in:
dzaitsev
2025-05-04 14:02:24 +03:00
parent c1a755c477
commit 6be07693cc
+2 -2
View File
@@ -159,14 +159,14 @@ pipeline {
# Write the determined zip filename to a temporary file
Write-Host "Writing zip filename '$zipFilename' to temporary file '$tempFilenameFile'..."
$zipFilename | Out-File -Path $tempFilenameFile -Encoding UTF8 -Force
$zipFilename | Out-File -FilePath $tempFilenameFile -Encoding UTF8 -Force # Corrected: Using -FilePath
exit 0
''' // End powershell script
// Read the zip filename from the temporary file
def createdZipFilename = ""
// Removed the duplicate declaration of tempFilenameFile here.
// The tempFilenameFile variable is already defined above
try {
echo "Attempting to read zip filename from temporary file: ${tempFilenameFile}"