Send Octopus output log to Jenkins log

Hi,

I’m triggering the deploy job from jenkins and trying to push the octopus deployment job output to jenkins log. Can you please advice me on how to see the octopus output in jenkins output log.

Thanks,
Pavan.

Hi,

I see the wrong octopus url being showed in the output log of jenkins though I have given the right octopus url, where jenkins is able to talk to octopus but still showing the wrong url in output. Which will help me to navigate to cotopus in the case of deploy failure.

Thanks,
Pavan.

2.PNG

Hi Pawan,

Thanks for reaching out!

Are you using the community provided Jenkins Octopus plugin?

Assuming you are, it appears you’re running into a bug with the way it removes the trailing slash (I think the issue is on this line). If you change your Octopus Host URL to remove the trailing slash, you should be fine.

As to how to get the octopus output using the plugin, I suggest you raise an issue on the GitHub repository and ask the maintainers of the plugin. You might want to raise an issue with them regarding the trailing slash removal as well.

Hope that helps!

Cheers,
Matt