Jazz Forum Welcome to the Jazz Community Forum Connect and collaborate with IBM Engineering experts and users

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.

0 votes

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.


Be the first one to answer this question!

Register or log in to post your answer.

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.

Search context
Follow this question

By Email: 

Once you sign in you will be able to subscribe for any updates here.

By RSS:

Answers
Answers and Comments
Question details

Question asked: Apr 08 '14, 5:54 p.m.

Question was seen: 3,476 times

Last updated: Apr 10 '14, 11:02 a.m.

Confirmation Cancel Confirm