Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Display a message for changed files have been excluded from build scope #492

Merged

Conversation

dennis-behm
Copy link
Member

@dennis-behm dennis-behm commented Mar 20, 2024

This is implementing issue #491

It adds a new message, if a file is excluded from being built:

**** MortgageApplication/cobol/epscmort.cbl is changed, but is excluded from build scope. See excludeFileList configuration.

Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
@dennis-behm dennis-behm requested a review from M-DLB March 20, 2024 13:45
@dennis-behm dennis-behm linked an issue Mar 20, 2024 that may be closed by this pull request
@@ -442,6 +445,8 @@ def calculateChangedFiles(BuildResult lastBuildResult, boolean calculateConcurre
(file, mode) = fixGitDiffPath(file, dir, false, mode)
deletedFiles << file
if (props.verbose) println "**** $file"
} else {
if (props.verbose) println "**** $file is deleted, but not in build scope. See excludeFileList configuration. No follow-up processing."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm picky here, but could we have a consistent wording -> "but is excluded from build scope"

@@ -451,6 +456,8 @@ def calculateChangedFiles(BuildResult lastBuildResult, boolean calculateConcurre
(file, mode) = fixGitDiffPath(file, dir, false, mode)
renamedFiles << file
if (props.verbose) println "**** $file"
} else {
if (props.verbose) println "**** $file is renamed, but not in build scope. See excludeFileList configuration. No follow-up processing."
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same comment -> "but is excluded from build scope"

Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
@dennis-behm
Copy link
Member Author

@M-DLB Please check - bd39c01

@dennis-behm dennis-behm merged commit a23b047 into IBM:develop Mar 27, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Document if changed files got excluded from build scope
2 participants