Closed rukas closed 8 months ago
Hey @rukas
Thank you for raising this issue. I've raised a PR - #1493 that should resolve this.
Best wishes
Great, thanks @harrisonmeister !
@rukas - version 15 is now available for this step, and I have just run a test and it should now work :)
Thanks for the quick turnaround on this! I've tested it and it works as expected now!
Thanks for the quick turnaround on this! I've tested it and it works as expected now!
You're very welcome!
Step template
run-octopus-runbook
Step version
14
Octopus version
2023.4.8338
Step template parameter inputs
Runbook Base Url: https://server.domain (redacted server name) Runbook Space Name: Default Runbook Environment Name: Production Runbook Tenant Name:
Wait for Finish: True Use Guided Failure: True Cancel run in seconds: 1800 Use Published Snapshot: True Auto Approve Runbook Run Manual Interventions: No Auto Approve environment name to pull approvals from: Production Octopus runbook run machines: eus-svc-prd03,eus-svc-prd05,eus-svc-prd07,eus-svc-prd08
What happened
The step fails when trying to find a deployment target via the API. I believe there is an error where it isn't passing in the Octopus base URL.
When it tries to find a runbook it logs this:
When it tries to find the machine it runs this:
It looks like it's missing
https://server.domain
in the invoke-restmethod callHere is a the full log for the step run
Reproduction steps
Use the
Machine List
input variableMore Information
No response