How to use artifactLinkPublisher to link a file in a linux environment
![]()
Hello,
My build deploys a .WAR file on webapps folder of a web server (tomcat) in linux environment. All works fine, except the download of war file in "Downloads" tab of the build result. When I try to download the file, an error occurs (java.io.FileNotFoundException) I am using the following tag in my build.xml file: <artifactLinkPublisher buildResultUUID="${buildResultUUID}" repositoryAddress="${repositoryAddress}" verbose="true" url="http://<hostname>:8080/<projectname>.war" label="Project Web Archive" userId="${userId}" passwordFile="${passwordFile}" /> What am I doing wrong? How to use the artifactLinkPublisher in this scenario? Thanks. |
Be the first one to answer this question!
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.
Comments
Can you include the entire error message? Does it say what is the path of the file the system failed to find?
Piotr, the error message is the following:
Error downloading the file.
Reason: The URL especified was not located.