-
Notifications
You must be signed in to change notification settings - Fork 144
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 message on missing build script mapping #401
Display message on missing build script mapping #401
Conversation
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just a small correction, if possible please.
utilities/ImpactUtilities.groovy
Outdated
@@ -109,8 +109,12 @@ def createImpactBuildList() { | |||
// impactedFile found, but on Exclude List | |||
// Possible reasons: Exclude of file was defined after building the collection. | |||
// Rescan/Rebuild Collection to synchronize it with defined build scope. | |||
if (props.verbose) println "!! $impactFile is impacted by changed file $changedFile, but is on Exlude List. Not added to build list." | |||
if (props.verbose) println "*!* $impactFile is impacted by changed file $changedFile, but is on Exlude List. Not added to build list." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm not wrong, the error messages start with *!
and not *!*
, can you change it to be consistent with other scripts?
utilities/ImpactUtilities.groovy
Outdated
} | ||
} else { | ||
String warningMsg = "*!* $impactFile is impacted by changed file $changedFile, but is not added to build list, because it is not mapped to a language script." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If I'm not wrong, the error messages start with *!
and not *!*
, can you change it to be consistent with other scripts?
Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com>
@M-DLB, good catch! The error indicator is fixed. |
…d impacted files (IBM#401) * Report warning when impacted file does not have a script mapping Signed-off-by: Dennis Behm <dennis.behm@de.ibm.com> Signed-off-by: Ian J Mitchell <ianj_mitchell@uk.ibm.com>
This is providing a warning message to the console output independently of running in verbose logging mode, when during impact analysis an impacted file was detected, but is not mapped to a language script:
The msg is also added to the build result.