Unable to download artifacts immediately after creating asset version using ant tasks
![]()
Is there a delay between changing an asset and being able to use it?
I am using Rational Asset Manager to upload the results of a build step using the RAM ant tasks. I am successfully creating a new version of the asset and then adding some artifacts as content.
In a following build step (about 10 seconds later), I use the ram:download ant task to search for that version of the asset and download the content. However I see the message:
[ram:download] Nothing to download.
If I add a 60 second delay then the download works successfully. If there is a delay between the asset becoming available with the latest content, is there any way via the API to know when that has happened?
Thanks for any help, Colin.
|
One answer
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.
Comments
Hi,
I am curious about how you use the ramDownloadAsset.xml. Did you add a Search type or a Asset type? That would be helpful if you could offer the script here.
Thanks.
I am using a search including the name, community and version. Here is a snippet of my code (let me know if you would like to see more):