You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is there a default variable for the canonical URL where the Octopus instance is running?
I have a template where I want to send a link to a deployment task, and I'd like to have some variable like Octopus.Web.BaseUrl that would be equal to something like https://my-octopus.example.com/.
I suppose this would be difficult since by default Octopus allows multiple host headers and ports to be bound to it, but would make life simpler for me.
The text was updated successfully, but these errors were encountered:
Hi Chris, thanks for the suggestion. We've had this request a few times already - it's a tricky one for the reasons you mention. In the template scenario though, just exposing our "best guess" would probably do the trick - e.g. Octopus.Web.BaseUrl could be the default parameter value, and users with more complex setups could override the default. It seems fairly straightforward, so I've popped it in: OctopusDeploy/Issues#1177
Is there a default variable for the canonical URL where the Octopus instance is running?
I have a template where I want to send a link to a deployment task, and I'd like to have some variable like
Octopus.Web.BaseUrl
that would be equal to something likehttps://my-octopus.example.com/
.I suppose this would be difficult since by default Octopus allows multiple host headers and ports to be bound to it, but would make life simpler for me.
The text was updated successfully, but these errors were encountered: