X

The artifact ‘snyk_report.html’ does not exist in build #28.

The below error message

The following error message is in the TeamCity UI, while building/Scanning the projects.

404
Artifact does not exist: ‘snyk_report.html’ in build #28 {build id=240, buildTypeId=ProjectName_Build}

This error message is indicating that the artifact ‘snyk_report.html’ does not exist in build #28.

This can happen for a few reasons:

  • The snyk scan was not run or completed in that build
  • There was an issue with the snyk scan and it did not generate a report
  • The pipeline was not configured to create or upload the snyk_report.html artifact

To resolve this issue, you can try the following:

  • Check the build logs to see if the snyk scan was run and if there were any errors
  • Make sure that the snyk scan is being run correctly and that it is generating a report
  • Check the pipeline configuration to ensure that the snyk_report.html artifact is being created and uploaded properly.

If none of the above steps helped, you may want to check if the Snyk is integrated correctly in your pipeline and the account has the right credentials.

Happy Learning!

If you enjoyed this article, Get email updates (It’s Free)
kumaresan: