mirror of
https://github.com/azaion/annotations.git
synced 2026-04-23 01:36:30 +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 the determined zip filename to a temporary file
|
||||||
Write-Host "Writing zip filename '$zipFilename' to temporary file '$tempFilenameFile'..."
|
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
|
exit 0
|
||||||
''' // End powershell script
|
''' // End powershell script
|
||||||
|
|
||||||
// Read the zip filename from the temporary file
|
// Read the zip filename from the temporary file
|
||||||
def createdZipFilename = ""
|
def createdZipFilename = ""
|
||||||
// Removed the duplicate declaration of tempFilenameFile here.
|
// The tempFilenameFile variable is already defined above
|
||||||
|
|
||||||
try {
|
try {
|
||||||
echo "Attempting to read zip filename from temporary file: ${tempFilenameFile}"
|
echo "Attempting to read zip filename from temporary file: ${tempFilenameFile}"
|
||||||
|
|||||||
Reference in New Issue
Block a user