Follow below steps to install agent on remote machine (supports Linux/Windows/Mac OS X/FreeBSD):
- Make sure JDK 1.8 or higher is installed
- Make sure docker engine is installed and docker command line is available in system path
- Make sure current user has permission to run docker containers
- Make sure git version 2.11.1 or higher is installed and available in system path
- Make sure git-lfs is installed and available in system path if you want to retrieve LFS files
- Download agent package. A new agent token will be included in the package
- Extract the package into a folder
-
Change property
serverUrl
in file conf/agent.properties
if necessary. The default value is
taken from OneDev server url specified in Administration / System Setting
- From extracted folder, run
bin\agent.bat console
as administrator on Windows or bin/agent.sh console
on other OS