| << Back to previous view |
[QB-1069] build.getDownloadUrl() and build.getUrl() methods return IP instead of hostname
|
|
| Status: | Resolved |
| Project: | QuickBuild |
| Component/s: | None |
| Affects Version/s: | 3.1.50 |
| Fix Version/s: | 4.0.0, 3.1.62 |
| Type: | Bug | Priority: | Minor |
| Reporter: | Alexey Shumkin | Assigned To: | Unassigned |
| Resolution: | Fixed | Votes: | 0 |
| Remaining Estimate: | Unknown | Time Spent: | Unknown |
| Original Estimate: | Unknown | ||
| Environment: |
Operating System Linux 2.6.33.7-co-0.7.9, i386
JVM OpenJDK Client VM 1.6.0_20, Sun Microsystems Inc. QuickBuild Version 3.1.50 - Wed Jun 29 03:41:43 MSK 2011 |
||
| Description |
|
I intend to pass artifact download url to a script that sends release notes with download link.
There is a full server name looks like "http://<servername>:<port>" in a system configuration (and QB notification messages use it correctly) But when I pass result of "${build.getDownloadUrl("<file>", true)}" MVEL script to my email sending script, URL looks like "http://<IP>:<port>/download/<buildNo>/<file>" that is not I'm expecting to get. Is it a bug? And how to get serverUrl from server system settings? |
| Comments |
| Comment by Alexey Shumkin [ 03/Oct/11 10:01 AM ] |
| < and > in the ticker description are "less" and "more" signs (parser of JIRA replaced them with </> |
| Comment by Alexey Shumkin [ 03/Oct/11 02:56 PM ] |
|
Is not confirmed.
I have upgraded to 3.1.62 and the bug is observed as well. |
| Comment by Alexey Shumkin [ 11/Oct/11 11:20 AM ] |
| Confirmed "resolved' on 4.0.3 |