From 6be07693ccc10655f533c09494e1a23a0b85d5c9 Mon Sep 17 00:00:00 2001 From: dzaitsev Date: Sun, 4 May 2025 14:02:24 +0300 Subject: [PATCH] zip update --- build/jenkins/zip | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build/jenkins/zip b/build/jenkins/zip index dfd8179..3eac561 100644 --- a/build/jenkins/zip +++ b/build/jenkins/zip @@ -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}"