latest fixes for Gdrive upload

This commit is contained in:
dzaitsev
2025-05-04 18:49:25 +03:00
parent 2766be732d
commit 1acfab9b87
+1 -1
View File
@@ -32,7 +32,7 @@ pipeline {
echo "Finding latest zip file..."
dir("C:/Jenkins/workspace/AzaionSuite/suite") {
def output = powershell(returnStdout: true, script: '''
$pattern = "AzaionSuite*-*-*.zip"
$pattern = "AzaionSuite.*-*-*.zip"
$zipFiles = Get-ChildItem -Filter $pattern | Sort-Object Name -Descending
if ($zipFiles.Count -eq 0) {
Write-Error "No ZIP files matching pattern '$pattern' were found."