Thursday, March 19, 2015

Bamboo on Demand–Failed to download artifact in the job

I was new to Bamboo on Demand and I added an Artifact Download Task into the default job trying to download an artifact built from another plan.

It looked nothing could be wrong as all the information were filled by choosing the value from the drop down boxes except that destination path.

But the truth was that the job failed due to failed to download the artifact. I checked the artifact, it was there, I checked the destination path,

no typo, same path used for its own artifacts which were built before I added the download task.

 

Comparing to other plans on the same Bamboo on Demand server, I found that the plan whose artifact was referenced to be download had

a small different setting from other plans. The difference was that the plan had not specified a folder for checking out the source code, i.e.,

in the Source Code Check out task, Checkout Directory is blank. By put in an folder name to this box and use the same folder as the start

folder in the Location box for Artifact setting, the problem solved!

No comments:

Post a Comment