-
-
Notifications
You must be signed in to change notification settings - Fork 763
Open
Description
Prerequisites
- I have written a descriptive issue title
- I have searched issues to ensure it has not already been reported
Cake runner
Cake .NET Tool
Cake version
latest
Operating system
N/A
Operating system architecture
x64
CI Server
No response
What are you seeing?
Currently, the Octopus Deploy aliases are not able to be used seamlessly in a cross platform environment.
var settings = new CreateReleaseSettings
{
DefaultPackageVersion= version,
ReleaseNumber = version,
Server = "https://octopus.blah.com",
ApiKey = myKey,
};
OctoCreateRelease(myProjectName, settings);
What is expected?
Creating an OctopusRelease or any octopus action should work as expected when run from a windows machine or a linux machine.
My recommendation is the OctopusDeployAliases in cake should be updated to utilize the Octopus.Client Nuget package under the covers.
#addin nuget:?package=Octopus.Client
This will allow it to work cross platform and prevent others from running into the same issue.
Steps to Reproduce
Simply run OctoCreateRelease octopus deploy alias on a linux machine.
Output log
An error occurred when executing task 'OctopusRelease'.
20:01:13 Error: An error occurred trying to start process '/root/buildAgent/work/be2205749207cff5/tools/OctopusTools.9.1.7/tools/octo.exe' with working directory '/root/buildAgent/work/be2205749207cff5'. No such file or directory
Metadata
Metadata
Assignees
Labels
No labels