Skip to content

Commit

Permalink
Implement external impact reporting for changed files with empty buil…
Browse files Browse the repository at this point in the history
…d list (#570)

* Implement external impact reporting for changed files with empty build list

---------

Signed-off-by: Dennis Behm <[email protected]>
Co-authored-by: Mathieu Dalbin <[email protected]>
  • Loading branch information
dennis-behm and M-DLB authored Dec 9, 2024
1 parent 05ec004 commit aaefc70
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions build.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -690,10 +690,12 @@ def createBuildList() {
if (buildSet && changedFiles) {
println "** Perform analysis and reporting of external impacted files for the build list including changed files."
reportingUtils.reportExternalImpacts(buildSet.plus(changedFiles))
}
else if(buildSet) {
} else if(buildSet) {
println "** Perform analysis and reporting of external impacted files for the build list."
reportingUtils.reportExternalImpacts(buildSet)
} else if(changedFiles) {
println "** Perform analysis and reporting of external impacted files for changed files only (no files in the build list)."
reportingUtils.reportExternalImpacts(changedFiles)
}
}

Expand Down

0 comments on commit aaefc70

Please sign in to comment.