Don't warn on folders that aren't actually packages (#5974)
This commit is contained in:
parent
ac63f2618e
commit
658c1f317b
@ -75,6 +75,7 @@ jobs:
|
||||
matrix: $[ ${{ parameters.Matrix }} ]
|
||||
|
||||
variables:
|
||||
- template: /eng/pipelines/templates/variables/globals.yml@self
|
||||
- template: /eng/pipelines/templates/variables/image.yml@self
|
||||
- name: CMOCKA_XML_FILE
|
||||
value: "%g-test-results.xml"
|
||||
|
||||
@ -265,6 +265,7 @@ stages:
|
||||
)
|
||||
)
|
||||
variables:
|
||||
- template: /eng/pipelines/templates/variables/globals.yml
|
||||
- template: /eng/pipelines/templates/variables/image.yml
|
||||
|
||||
jobs:
|
||||
|
||||
@ -137,6 +137,7 @@ extends:
|
||||
stages:
|
||||
- stage: CMakeGeneration
|
||||
variables:
|
||||
- template: /eng/pipelines/templates/variables/globals.yml@self
|
||||
- template: /eng/pipelines/templates/variables/image.yml@self
|
||||
jobs:
|
||||
- template: /eng/pipelines/templates/jobs/cmake-generate-jobs.yml@self
|
||||
@ -152,6 +153,7 @@ extends:
|
||||
# Integration can launch immediately without awaiting more build and test jobs
|
||||
- stage: PrePublishBuild
|
||||
variables:
|
||||
- template: /eng/pipelines/templates/variables/globals.yml@self
|
||||
- template: /eng/pipelines/templates/variables/image.yml@self
|
||||
dependsOn: []
|
||||
jobs:
|
||||
@ -176,6 +178,7 @@ extends:
|
||||
|
||||
- stage: Build
|
||||
variables:
|
||||
- template: /eng/pipelines/templates/variables/globals.yml@self
|
||||
- template: /eng/pipelines/templates/variables/image.yml@self
|
||||
dependsOn: []
|
||||
jobs:
|
||||
|
||||
@ -2,24 +2,6 @@ variables:
|
||||
# True if 'Enable system diagnostics' is checked when running a pipeline manually
|
||||
IsDebug: $[coalesce(variables['System.Debug'], 'false')]
|
||||
|
||||
AdditionalOptions: ''
|
||||
|
||||
# Exists if needed in coalesce situations.
|
||||
DefaultTestGoals: 'surefire:test'
|
||||
# This will be overwritten by the test matrix, if configured.
|
||||
TestGoals: $(DefaultTestGoals)
|
||||
|
||||
# This will be overwritten by the test matrix, if configured.
|
||||
TestOptions: ''
|
||||
# TestFromSource is one of the cache keys but isn't set until the test matrix
|
||||
# has been processed. Without a default value it'll be treated as a string literal
|
||||
# "$(TestFromSource)" instead of true/false. It'll be overwritten when the test
|
||||
# matrix has been processed
|
||||
TestFromSource: false
|
||||
|
||||
skipComponentGovernanceDetection: true
|
||||
DisableDockerDetector: true
|
||||
Package.EnableSBOMSigning: true
|
||||
|
||||
# Disable CodeQL injections except for where we specifically enable it
|
||||
Codeql.SkipTaskAutoInjection: true
|
||||
${{ if and(eq(variables['Build.Reason'],'PullRequest'), eq(variables['System.PullRequest.IsFork'], 'True')) }}:
|
||||
# Disable warning for tools that are disabled for forked builds
|
||||
GDN_SUPPRESS_FORKED_BUILD_WARNING: true
|
||||
|
||||
@ -13,7 +13,7 @@ $versionFileLocation = Get-VersionHppLocation `
|
||||
-PackageName $PackageName
|
||||
|
||||
if (!$versionFileLocation) {
|
||||
LogWarning "Failed to retrieve package version for '$ServiceDirectory/$PackageName'. No version file found."
|
||||
Write-Verbose "Didn't find a version file for '$ServiceDirectory/$PackageName', so assuming it is not a package."
|
||||
return $null
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user