How to use artifactLinkPublisher to link a file in a linux environment
![](http://jazz.net/_images/myphoto/e580e30a3a99331a5031dbeaeb3c0d71.jpg)
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.
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.
Comments
Piotr Aniola
Apr 09 '14, 5:39 a.m.Can you include the entire error message? Does it say what is the path of the file the system failed to find?
LUIZ DE ALMEIDA
Apr 10 '14, 11:02 a.m.Piotr, the error message is the following:
Error downloading the file.
Reason: The URL especified was not located.