Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Unable to publish artifact

swati.awate May 17, 2024

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:

Capture.PNGCapture2.PNGCapture1.PNG

1 answer

1 vote
Khushboo Gupta
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
May 17, 2024

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**

 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events