mirror of
https://github.com/azaion/annotations.git
synced 2026-04-22 08:36:29 +00:00
latest fixes for Gdrive upload
This commit is contained in:
@@ -32,7 +32,7 @@ pipeline {
|
|||||||
echo "Finding latest zip file..."
|
echo "Finding latest zip file..."
|
||||||
dir("C:/Jenkins/workspace/AzaionSuite/suite") {
|
dir("C:/Jenkins/workspace/AzaionSuite/suite") {
|
||||||
def output = powershell(returnStdout: true, script: '''
|
def output = powershell(returnStdout: true, script: '''
|
||||||
$pattern = "AzaionSuite*-*-*.zip"
|
$pattern = "AzaionSuite.*-*-*.zip"
|
||||||
$zipFiles = Get-ChildItem -Filter $pattern | Sort-Object Name -Descending
|
$zipFiles = Get-ChildItem -Filter $pattern | Sort-Object Name -Descending
|
||||||
if ($zipFiles.Count -eq 0) {
|
if ($zipFiles.Count -eq 0) {
|
||||||
Write-Error "No ZIP files matching pattern '$pattern' were found."
|
Write-Error "No ZIP files matching pattern '$pattern' were found."
|
||||||
|
|||||||
Reference in New Issue
Block a user