当前位置:网站首页>Ci tools Jenkins installation configuration tutorial
Ci tools Jenkins installation configuration tutorial
2022-06-29 07:06:00 【Tina-Deng】
Catalog
1、Jenkins download ( .war file )
Jenkins Official website : http://Jenkins-ci.org/
Download the latest version of Jenkins:
2、 To configure Jenkins To Tomcat
1、 install JDK
Refer to the article for detailed process :Java Download from the official website + install (Linux)
2、 install Tomcat
Detailed process reference :Tomcat Installation and configuration tutorial ( Super detailed graphic tutorial )
3、 Will download okay jenkins.war In the tomcat/webapps Under the table of contents
4、 open Tomcat The installation directory /server.xml modify URL Address encoding and decoding character set
```bash
# vim /opt/tomcat/conf/server.xml
<Connector port="8080" protocol="HTTP/1.1" connectionTimeout="20000" redirectPort="8443" URIEncoding="UTF-8"/>
```
3、 start-up Tomcat And browser access Jenkins
1、 Switch to Tomcat Of bin Under the table of contents , start-up Tomcat The server
# start-up tomcat
./startup.sh
# close tomcat
./shutdown.sh
2、 Browser access Jenkins Address : The server IP:8080/jenkins
Sample web address :http://192.168.70.131:8080/jenkins
4、 Unlock Jenkins And install plug-ins

1、 Follow the instructions , see /root/.jenkins/secrets/initialAdminPassword Fill the text box with the contents of the document .
The ciphertext filled in here is also admin Password of account .
2、 Select the plug-in installation method
Whichever method you choose will not have much impact on subsequent operations . Because there are necessary plug-ins, we can install them in the future .
※ Be careful :
In this step, if you choose to install the plug-in Linux Must be able to network .
hit × The plug-in of is failed to install due to network transmission , You can reinstall it later .
5、 Create administrator account
1、 You can choose to create an administrator account . Also used admin The account continues , There are still opportunities to register new accounts if necessary .
2、 Start using Jenkins
6、 Initial system configuration
Global security configuration

Global tool configuration :Maven Configuration - settings.xml file
Select the system already installed Maven,path by Maven Of settings.xml file .
settings.xml Similar to the local warehouse location 、 Modify remote warehouse server 、 Authentication information, etc .
If not installed , Please refer to the documentation :maven Installation and configuration ( A detailed version )
Global tool configuration :Maven
Select the system already installed Maven,Maven_HOME by Maven Installation path for /opt/
Global tool configuration :JDK
Select the system already installed JDK,JAVA_HOME by JDK Installation path for /opt/jdk1.8.0_121
边栏推荐
- List collection implements paging
- Exclusive download. Alibaba cloud native brings 10+ technical experts to bring new possibilities of cloud native and cloud future
- Daily question - force deduction - multiply the found value by 2
- Multithreading tool class completabilefuture
- Annual inventory review of Alibaba cloud's observable practices in 2021
- As a qualified network worker, you must master DHCP snooping knowledge!
- Flutter is configured with a domestic image and connected to the real machine
- [translation] [Chapter II ①] mindshare PCI Express technology 3.0
- Qt 处理图像数据的类区别(QPixmap、QImage、QPicture)
- 国内代码托管中心- 码云
猜你喜欢

Chapter V online logic analyzer signaltap

配置Flutter开发环境

Testing grpc service with grpcui

Analytic hierarchy process

Service grid ASM year end summary: how do end users use the service grid?

Illustrate plug-in -- AI plug-in development -- creative plug-in -- astute graphics -- multi axis mirroring function

消息队列之通过幂等设计和原子锁避免重复退款

Idea use

分享 10 个 JS Promise 相关的面试题

Two methods for preorder traversal of binary tree
随机推荐
配置Flutter开发环境
Save token get token refresh token send header header
CI工具Jenkins之二:搭建一个简单的CI项目
Qt 串口编程
Configuring MySQL 5.7 and 8 under CentOS
施工企业选择智慧工地的有效方法
Daily question 1 - force deduction - there are three consecutive arrays of odd numbers
Qt 容器类
Draw multiple ROC curves on a graph
QT foreach keyword
Baidu applet automatically submits search
IDEA常用插件
List collection implements paging
How to fix Error: Failed to download metadata for repo ‘appstream‘: Cannot prepare internal mirrorli
Two methods for preorder traversal of binary tree
NoSQL数据库介绍
Service grid ASM year end summary: how do end users use the service grid?
转:侯宏:企业数字化转型的关键不是技术,而是战略
Chapter IV introduction to FPGA development platform
QT program packaging and publishing windeployqt tool