under the root account
Choose manual access
Before installing the client, please check the environment dependencies. How to install environment dependencies?
- · Python 3.6, 3.7, 3.8, 3.9
- · Git >= 2.8
- · Java 8 or 11 and Jenkins
1. Create a working directory and enter the working directory
Create codingci/tools Enter codingci/tools
Install java11 (Python and git system comes with check whether the version supports it)
sudo apt install openjdk-11-jdk
2. In the above working directory, execute the following command to install Jenkins
curl -fL 'https://public-files.coding.net/public-files/coding-ci/jenkins.war?version=2.293-cci-v2.3' -o jenkins.war;
chmod +x jenkins.war;
Copy
curl -fL 'https://public-files.coding.net/public-files/coding-ci/jenkinsHome.zip?version=v61' -o jenkinsHome.zip;
unzip -o jenkinsHome.zip;
3. In the above working directory, execute the following command to install qci_worker for more information
pip3 install qci_worker -i https://donglianxinxijishu.coding.net/ci/pypi/simple
Execute the initialization command in the directory where qci_worker is located
qci_worker cci_reg --token 37adb06bd969644223444411223 --server wss://xxxxx.coding.net --home /root/codingci
4 start the client
Start the client, keep the node online
qci_worker up -d