We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a0b873 commit b4eee12Copy full SHA for b4eee12
eng/common/scripts/SetTestPipelineVersion.ps1
@@ -39,13 +39,16 @@ if ($Artifacts -and $Artifacts.Count -gt 0) {
39
exit 1
40
}
41
42
- # Check for ServiceDirectory property
43
- $artifactServiceDirectory = $ServiceDirectory
+ # Check for ServiceDirectory property
44
if (Get-Member -InputObject $artifact -Name 'ServiceDirectory' -MemberType Properties) {
45
if (![String]::IsNullOrWhiteSpace($artifact.ServiceDirectory)) {
46
$artifactServiceDirectory = $artifact.ServiceDirectory
47
48
+
49
+ if ([String]::IsNullOrWhiteSpace($artifactServiceDirectory)) {
50
+ $artifactServiceDirectory = $ServiceDirectory
51
+ }
52
53
# Validate ServiceDirectory is available
54
if ([String]::IsNullOrWhiteSpace($artifactServiceDirectory)) {
0 commit comments