<< Back to previous view

[QB-1069] build.getDownloadUrl() and build.getUrl() methods return IP instead of hostname
Created: 03/Oct/11  Updated: 11/Oct/11

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://&lt;servername&gt;:&lt;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://&lt;IP&gt;:&lt;port&gt;/download/&lt;buildNo&gt;/&lt;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 ]
&lt; and &gt; in the ticker description are "less" and "more" signs (parser of JIRA replaced them with &lt;/&gt;
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
Generated at Tue May 21 07:52:40 UTC 2024 using JIRA 189.