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
Return to search
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:
Change by PMEase JIRA Administrator [04/Oct/11 01:24 PM]
Fix Version/s 4.0.0 [ 11304 ]

Change by PMEase JIRA Administrator [03/Oct/11 11:46 AM]
Fix Version/s 3.1.62 [ 11305 ]

Change by PMEase JIRA Administrator [03/Oct/11 11:46 AM]
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Assignee Robin Shine [ robinshine ]
Resolution Fixed [ 1 ]