Running octopus package nuget create to generate a nuget package should not make use of any API operations. However, it currently requires that the user first login via octopus login.
This is a command that is likely to be incorporated into build scripts and build operations.
Instead you currently receive a output of the Octopus ascii art and:
To get started with the Octopus CLI, please login to your Octopus Server using:
octopus login
Alternatively you can set the following environment variables:
OCTOPUS_URL: The URL of your Octopus Server
OCTOPUS_API_KEY: An API key to authenticate to the Octopus Server with
Happy deployments!
The bug
Running
octopus package nuget create
to generate a nuget package should not make use of any API operations. However, it currently requires that the user first login viaoctopus login
.This is a command that is likely to be incorporated into build scripts and build operations.
Instead you currently receive a output of the Octopus ascii art and:
Command to reproduce
Outcome
Expected output of nupkg file in the out-folder path, without a prompt to login.
Versions
cli:
2.1.0
Octopus Server: N/ALinks
N/A