aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/azure-pipelines/osx/azure-pipelines.yml8
-rwxr-xr-xscripts/azure-pipelines/test-modified-ports.ps13
2 files changed, 7 insertions, 4 deletions
diff --git a/scripts/azure-pipelines/osx/azure-pipelines.yml b/scripts/azure-pipelines/osx/azure-pipelines.yml
index f90a7c82c..a8d94f6f6 100644
--- a/scripts/azure-pipelines/osx/azure-pipelines.yml
+++ b/scripts/azure-pipelines/osx/azure-pipelines.yml
@@ -27,9 +27,9 @@ jobs:
value: /Users/vagrant/Data
- name: VCPKG_DOWNLOADS
value: /Users/vagrant/Data/downloads
- - group: osx-binary-caching-credentials
- - name: BINARY_SOURCE_STUB
- value: "x-azblob,$(root-url),$(sas)"
+ - group: vcpkg-binary-caching-credentials
+ - name: X_VCPKG_BINARY_SOURCE_STUB
+ value: "x-azblob,$(root-bin-url),$(sas-bin)"
- group: vcpkg-asset-caching-credentials
- name: X_VCPKG_ASSET_SOURCES
value: "x-azurl,$(root-url),$(sas),readwrite"
@@ -67,7 +67,7 @@ jobs:
arguments: >
-Triplet "x64-osx"
-BuildReason "$(Build.Reason)"
- -BinarySourceStub "${{ variables.BINARY_SOURCE_STUB }}"
+ -BinarySourceStub "${{ variables.X_VCPKG_BINARY_SOURCE_STUB }}"
-WorkingRoot "${{ variables.WORKING_ROOT }}"
-ArtifactStagingDirectory "$(Build.ArtifactStagingDirectory)"
${{ variables.PowershellExtraArguments }}
diff --git a/scripts/azure-pipelines/test-modified-ports.ps1 b/scripts/azure-pipelines/test-modified-ports.ps1
index d837dbb62..6f25eb4c5 100755
--- a/scripts/azure-pipelines/test-modified-ports.ps1
+++ b/scripts/azure-pipelines/test-modified-ports.ps1
@@ -140,6 +140,9 @@ if ($null -ne $OnlyTest)
)
}
}
+
+ $failureLogsEmpty = ((Test-Path $failureLogs) -and (Get-ChildItem $failureLogs).count -eq 0)
+ Write-Host "##vso[task.setvariable variable=FAILURE_LOGS_EMPTY]$failureLogsEmpty"
}
else
{