Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AppVeyor BYOC Connect-AppVeyorToComputer: The term '/opt/appveyor/host-agent/appveyor' is not recognized as the name of a cmdlet, function, script file, or operable program. #713

Open
HariSekhon opened this issue Mar 18, 2020 · 0 comments

Comments

@HariSekhon
Copy link

HariSekhon commented Mar 18, 2020

Connect-AppVeyorToComputer seems to think the agent is installed but fails to find it.

Also I thought the agent was found at /opt/appveyor/host-agent/appveyor-host-agent as I'm sure I've run it before by hand.

$ pwsh
PowerShell 7.0.0
Copyright (c) Microsoft Corporation. All rights reserved.

https://aka.ms/powershell
Type 'help' to get help.

PS /pwd> Import-Module AppVeyorBYOC
PS /pwd> Connect-AppVeyorToComputer -AppVeyorUrl https://ci.appveyor.com -ApiToken <token>

Checking AppVeyor API access...
A new AppVeyor build cloud '996f00a7c08b' has been added.

Ensure build worker image is available for AppVeyor projects
AppVeyor build worker image 'Linux' already exists.

Installing AppVeyor Host Agent
OS: Linux
Host Agent is already installed
Connect-AppVeyorToComputer: The term '/opt/appveyor/host-agent/appveyor' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant