Create Build Info Using JEnkins

usability
server
known
(Ali Pourtarki) #1

Hi everyone,
I’m trying to create build info using Jenkins (Octopus Deploy: Push build information), but i’m getting error below:
Cannot run program “D:\Octo” (in directory “D:\Jenkins_Production\Jenkins_Workspaces\Build”): CreateProcess error=5, Access is denied
i checked folder security and all users has full access,
any idea wht’a the issue?

(Kenneth Bates) #3

Hi @apourtarki,

Thanks for getting in touch! The error seems to indicate that the program trying to be run is called D:\Octo which seems unexpected. I’d like to see how this is configured on the Jenkins side; could you send some screenshots showing your Jenkins setup?

I look forward to hearing back and getting to the bottom of this one!

Best regards,

Kenny

(Ali Pourtarki) #4

Hi Kenneth,
Her is the screenshots:



(Kenneth Bates) #6

Hi Ali,

Thanks for keeping in touch, and my sincere apologies about your reply slipping through the cracks!

The Path to tool field in your Jenkins configuration requires the full path to the executable, instead of the path to the folder. The current value is trying to run the folder (D:\Octo\) as an executable, so that field would need to be updated to D:\Octo\octo.exe to run octo.exe in that folder.

Let me know how you go or if you have any further questions going forward!

Best regards,

Kenny