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

Key: QB-1069
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Alexey Shumkin
Votes: 0
Watchers: 0
Operations

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

build.getDownloadUrl() and build.getUrl() methods return IP instead of hostname

Created: 03/Oct/11 09:59 AM   Updated: 11/Oct/11 11:20 AM
Component/s: None
Affects Version/s: 3.1.50
Fix Version/s: 4.0.0, 3.1.62

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: 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  « Hide
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://&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?

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

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.

Alexey Shumkin [11/Oct/11 11:20 AM]
Confirmed "resolved' on 4.0.3