当前位置:网站首页>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
边栏推荐
- mongostat性能分析
- QT program packaging and publishing windeployqt tool
- Qt 处理图像数据的类区别(QPixmap、QImage、QPicture)
- Why should enterprises do more application activities?
- . Net core + DDD basic layering + project basic framework + personal summary "suggestions collection"
- As a qualified network worker, you must master DHCP snooping knowledge!
- VerilogA - dynamic comparator
- Output of character pointer to string in C language
- VerilogA - counter
- WDCP accesses all paths that do not exist and jumps to the home page without returning 404
猜你喜欢

转:侯宏:企业数字化转型的关键不是技术,而是战略

Suggestions on digital transformation of large chemical enterprises

国内代码托管中心- 码云

Single application and microservice application

层次分析法

配置Flutter开发环境

Exclusive download. Alibaba cloud native brings 10+ technical experts to bring new possibilities of cloud native and cloud future

RPC和RMI

Qt QLineEdit详解

百度小程序自动提交搜索
随机推荐
Analysis on the wave of learning robot education for children
开源二三事|ShardingSphere 与 Database Mesh 之间不得不说的那些事
Labor skills courses integrated into steam Education
QT STL type iterator
What is the difference between software engineer and software development? What is the difference between software engineer and software developer?
try anbox (by quqi99)
UVM验证平台
QT program packaging and publishing windeployqt tool
RPC and RMI
RPC和RMI
Configuring the flutter development environment
The meaning and calculation method of receptive field
. Net core + DDD basic layering + project basic framework + personal summary "suggestions collection"
Linux Installation redis
消息队列之通过幂等设计和原子锁避免重复退款
作为一名合格的网工,你必须掌握的 DHCP Snooping 知识!
Creating a new generation of production and service tools with robot education
And check the collection hello
多线程工具类 CompletableFuture
消息队列之通过队列批处理退款订单