we are testing the new Jenkins Plug In “Octopus Deploy” … But currently we have problem with the rights ERROR: Error from Octo.exe: Cannot run program “D:\Helper\OctopusTools.6.16.0” (in directory “D:\Program Files\Jenkins\jobs\Facelift\workspace”): CreateProcess error=5, Access is denied
What is the recommended setup here? Our running Jenkins User is an Admin. Things like “D:\Helper\OctopusTools.6.16.0\octo.exe” pack --id=“Testpackage” are still working and not faceing this problem.
Thanks for getting in touch! I’m sorry about the confusion here. I’ve seen this same sort of problem before where a directory is supplied instead of an executable giving the access denied error. I.e. it’s trying to run OctopusTools.6.16.0 as the executable instead of octo.exe within that folder. You’d need to supply the full path and executable in the setup.
Otherwise it might be some user account access problem outside of Jenkins, though that sounds unlikely since you mentioned the Jenkins user is an admin.
I hope this helps! Let me know how you go or if you have any further questions going forward.
I didn’t use the ‘dotnet tool install’ for the Octopus command tool, I choosed the direct download and pasted the Octo.exe & Octo.exe.config into the filesystem of the buildserver. Due to this decision, we configured under the “Global Tool Configuration”, “Path to tool” our path like “D:\Helper\OctopusTools.6.16.0\Octo.exe.”.