< Back

Connect-AppVeyorToComputer

Fri Jan 10, 2020 8:30 pm

NAME Connect-AppVeyorToComputer



SYNOPSIS

Command to enable AppVeyor builds running on a host directly. Works with both hosted AppVeyor and AppVeyor Server.





SYNTAX

Connect-AppVeyorToComputer [-AppVeyorUrl] <String> [-ApiToken] <String> [<CommonParameters>]





DESCRIPTION

You can connect your AppVeyor account (on both hosted AppVeyor and on-premise AppVeyor Server) to computer running

Windows, Linux or Mac for AppVeyor to instantiate builds directly on it.





PARAMETERS

-AppVeyorUrl <String>

AppVeyor URL. For hosted AppVeyor it is https://ci.appveyor.com. For Appveyor Server users it is URL of

on-premise AppVeyor Server installation



Required? true

Position? 1

Default value

Accept pipeline input? false

Accept wildcard characters? false



-ApiToken <String>

API key for specific account (not 'All accounts'). Hosted AppVeyor users can find it at

https://ci.appveyor.com/api-keys. Appveyor Server users can find it at <appveyor_server_url>/api-keys.



Required? true

Position? 2

Default value

Accept pipeline input? false

Accept wildcard characters? false



<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug,

ErrorAction, ErrorVariable, WarningAction, WarningVariable,

OutBuffer, PipelineVariable, and OutVariable. For more information, see

about_CommonParameters (https:/go.microsoft.com/fwlink/?LinkID=113216).



INPUTS



OUTPUTS



-------------------------- EXAMPLE 1 --------------------------



PS C:\\>Connect-AppVeyorToComputer



Let command collect all required information









-------------------------- EXAMPLE 2 --------------------------



PS C:\\>Connect-AppVeyorToComputer -ApiToken XXXXXXXXXXXXXXXXXXXXX -AppVeyorUrl "https://ci.appveyor.com"



Run command with all required parameters so command will ask no questions. It will install AppVeyor Host Agent and

configure "Process" build cloud in AppVeyor.











RELATED LINKS