<< Back to previous view

[QB-189] Be able to download artifacts of the LATEST, LAST and LASTGOOD build, using a constant URL
Created: 09/Jan/07  Updated: 06/Jun/09

Status: Resolved
Project: QuickBuild
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Minor
Reporter: Oren Sadeh Assigned To: Robin Shen
Resolution: Fixed Votes: 0
Remaining Estimate: Unknown Time Spent: Unknown
Original Estimate: Unknown

File Attachments: Java Source File BuildTypeRedirector.java     XML File web.xml    

 Description   
There are cases in which you need to get the artifact of a recent build. For example, my team has Ant build files that downloads artifacts of other component builds, but we want these artifacts to be fresh. QB doesn't provide a constant URL for doing that.
I implement this feature (very roughly) using a small servlet and a web.xml addition, so now I can use a 'symbolic link' to builds:

http://quickbuild/link/root.my-conf/LASTGOOD/artifacts/my-artifact.jar
is redirected to
http://quickbuild/publish/root.my-conf/&lt;lastest-good-build-ID&gt;/artifacts/my-artifact.jar

Of course, no need to update the 1st URL - it is always the same

I would like to see this feature getting into future releases of QB


 Comments   
Comment by Oren Sadeh [ 09/Jan/07 01:54 AM ]
Sample implementation attached
Comment by Oren Sadeh [ 09/Jan/07 01:55 AM ]
This feature is also related to QB-144
Comment by Oren Sadeh [ 26/Jul/07 03:36 AM ]
This feature is partially supported, by it doesn't work when the published artifacts are symbolic links, so I would actually change it into a minor bug
Generated at Wed Oct 08 23:34:33 UTC 2025 using JIRA 189.