mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 22:26:31 +00:00
zip update
This commit is contained in:
+2
-2
@@ -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}"
|
||||
|
||||
Reference in New Issue
Block a user