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?