How to supress the error message coming from log
: Unable to publish artifact [PDFReport]: the source directory C:\Users\***********\xml-data\build-dir\PDFGEN-TES-JOB1\Checkmarx\Reports does not exist.
Following are the configurations which I had done at job level:
Hello @swati.awate
Welcome to Atlassian community!
The error message you're seeing is indicating that the process is trying to access a directory to find the PDF report to publish, but it cannot find the specified directory.
Post checking the screenshot from artifact definition it seems you have used forward slashes (/) which is for unix-like system, Windows uses backslashes (\
) as path separators.
In this case, you would use Checkmarx\Reports and similarly for copy patterns field too.
Try following this and check if this works!
Regards,
Khushboo Gupta
**please don't forget to Accept the answer if your query was answered**
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.