History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: QB-189
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Robin Shen
Reporter: Oren Sadeh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
QuickBuild

Be able to download artifacts of the LATEST, LAST and LASTGOOD build, using a constant URL

Created: 09/Jan/07 01:53 AM   Updated: 06/Jun/09 11:06 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
File Attachments: 1. Java Source File BuildTypeRedirector.java (5 kb)
2. XML File web.xml (0.3 kb)



 Description  « Hide
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/<lastest-good-build-ID>/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


 All   Comments   Work Log   Change History      Sort Order:
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

Oren Sadeh [09/Jan/07 01:55 AM]
This feature is also related to QB-144

Oren Sadeh [09/Jan/07 01:54 AM]
Sample implementation attached