jenkinsci / dependency-track-plugin

Main repository for the official Dependency-Track Jenkins plugin
https://dependencytrack.org/
Apache License 2.0
44 stars 27 forks source link

Get Artifact from outside the workspace #150

Closed ngocnn97 closed 1 year ago

ngocnn97 commented 1 year ago

Is your feature request related to a problem? Please describe.

I'm having problems with saving the Artifact right in the workspace, which crashes some of the following gates in the pipeline, I tried saving /tmp/ but the plugin doesn't read

sephiroth-j commented 1 year ago

Then it's probably an issue with the file permissions. The artifact location is not limited to the workspace. The file must be readable by the user running the Jenkins job.

ngocnn97 commented 1 year ago

i have set 777 permissions for the generated file, Jenkins user also has full /tmp read permissions, i have ls -l as well as cat file normally in jenkins, I think the problem is with Dtrack Plugin

sephiroth-j commented 1 year ago

Please file a proper bug report that includes the necessary information, log messages, and steps to reproduce this issue.