Get the App
SLTechnology News&Howtos  ›  Internet Technology  › 

Jenkins--- installation and configuration / jenkins environment building

Shulou Source: shulou.com Published: 2022-06-03 07:03:05 11月23日 Update

Although I have written two examples of continuous integration, some students will encounter some trouble when installing Jenkins, as follows

Let me introduce you to the installation process of Jenkins.

Let's download Jenkins first.

Official website: https://jenkins.io/download/ (be sure to download it from the official website)

After the download is complete, we click on the file to install.

Always click to ok, of course, you can choose the path of the drive letter you need to install.

Mine is installed under C disk by default.

After installation, we type java-jar jenkins.war under cmd to start jenkins, or directly in the service.

Then open the jenkins service. Then type http://127.0.0.1:8080 in the browser to go to the jenkins management page.

The default is port 8080.

If we want to do continuous integration, we need to install some plug-ins in the system management-management plug-ins column.

First of all, let's install the performanceplugin, HTML publisher plugin, ant plug-ins.

Enter the plug-in name in the search bar, filter it out and click the install button.

These plug-ins are installed to support continuous integration testing of ant and to automatically generate HTML test reports.

Configure Global ToolConfiguration option

Configure JDK: (JAVA_HOME is the same as in the environment variable)

Configure ant:

Well, after configuring these, we can go to a new project to do testing, as described in the previous article. Yes

Question plus * * stream QQ group: 610845268

Tags: Plug-ins configuration testing management input services environment consistency variables classmates names instances reports buttons files introductions columns browsers ports articles Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology MariaDB Xiaomi Apple MySQL