Welcome to the Inedo Forums! Check out the Forums Guide for help getting started.
If you are experiencing any issues with the forum software, please visit the Contact Form on our website and let us know!
How to suppress empty artifact warnings
-
Is there a way to suppress the warning generated when an artifact has no folders or files in it?
The log message is "There were no files or directories captured in this artifact."
Product: BuildMaster
Version: 5.5.1
-
While there's no way currently to suppress the message itself, you can add the following line in the OtterScript after the Create-Artifact operation to restore normal execution status:
force normal;
We can also add an extra property instructing the operation not to log this information as well, but that will require a new version of BuildMaster.
-
Tod - thanks for the reply. We would definitely be interested in this feature in an upcoming release. Thanks.