当前位置:网站首页>Basic use of continuous integration server Jenkins
Basic use of continuous integration server Jenkins
2022-07-03 04:20:00 【Just_ Paranoid】
Jenkins Is an open source continuously integrated server ,Jenkins Open source helps us build all kinds of projects automatically .Jenkins Powerful plug-in , bring Jenkins You can integrate a lot of software , May help us continuously integrate our engineering projects .
https://www.cnblogs.com/fuzongle/p/12834080.html
https://www.cnblogs.com/whitewall/p/11892676.html
https://www.jenkins.io/zh/doc/book/installing/#setup-wizard
https://www.w3cschool.cn/jenkins/
https://juejin.cn/post/7048582881576222734
Jenkins It's an open source software project , Is based on Java A continuous integration tool for development , Used to monitor continuous repetitive work , To provide an open and easy-to-use software platform , Make continuous integration of software possible .
This article is based on docker build jenkins, be based on jenkinsci/blueocean Mirror image
[email protected]:~$ sudo docker run -u root --rm -d -p 8080:8080 -p 50000:50000 -v jebkins-data:/var/jenkins_home -v /var/run/docker.sock:/var/run/docker.sock jenkinsci/blueocean
stay Docker Download and run Jenkins
Several available Jenkins Docker Mirror image .
It is recommended to use Docker The image is jenkinsci/blueocean image( come from the Docker Hub repository). The image contains current long-term support (LTS) Of Jenkins edition ( It can be put into use ) , It's all tied up Blue Ocean Plug ins and features . This means you don't need to install it alone Blue Ocean plug-in unit .
//docker pull jenkinsci/blueocean
A docker image to give BlueOcean a try
run as docker run -p 8080:8080 jenkinsci/blueocean
note the admin password dumped on log
open a browser on http://localhost:8080
run the initial setup wizard. Choose "recommended plugins"
browse to http://localhost:8080/blue
This image has a tag for every release of blue ocean, to run the latest, ensure you run docker pull jenkinsci/blueocean from time to time.
Docker The container reports an error when mapping ports
docker: Error response from daemon: driver failed programming external connectivity
solve :
systemctl restart docker
// Unlock Jenkins
When you first visit the new Jenkins When an instance , You will be asked to unlock it with an automatically generated password .
Browse to http://localhost:8080( Or when installed Jenkins Any port configured ), And wait for Unlock Jenkins Page appears .
// obtain admin password
// from Jenkins Console log output , Copy the automatically generated alphanumeric password ( Between the two sets of asterisks ).
Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:
37e88acc58c44b00882830adbb8a03ba
This may also be found at: /var/jenkins_home/secrets/initialAdminPassword
// When you first visit the plugin selection page , Select the recommended plug-in by default .
// Create the first admin user
Last , stay customizing Jenkins with plugins after ,Jenkins Ask you to create the first admin user . . appear “ Create the first admin user ” When the page is , Please specify the details of the administrator user in each field , And then click Save complete . . When Jenkins Be on it When it appears , single click Start using Jenkins.
// Download and install the Chinese plugin
Manage Jenkins – Manage Plugins – Search for locale
Localization: Chinese (Simplified)
Locale plugin
// Set up Chinese
Manage Jenkins --Configure System – Locale -Default Lanaguage -zh_CN And check the Ignore browser preference and force this language to all users
边栏推荐
- BMZCTF simple_ pop
- Basic MySQL operations
- 540. Single element in ordered array
- ZIP文件的导出
- 重绘和回流
- Leecode swipe questions and record LCP 18 breakfast combination
- 金仓数据库KingbaseES 插件kdb_date_function
- 跨境电商多商户系统怎么选
- 【刷题篇】接雨水(一维)
- [mathematical logic] predicate logic (predicate logic basic equivalent | eliminate quantifier equivalent | quantifier negative equivalent | quantifier scope contraction expansion equivalent | quantifi
猜你喜欢
Esp32 series (3): GPIO learning (take simple GPIO input and output, ADC, DAC as examples)
P35-P41 fourth_ context
Redis persistence principle
[brush questions] find the number pair distance with the smallest K
Web - Information Collection
Dismantle a 100000 yuan BYD "Yuan". Come and see what components are in it.
[nlp] - brief introduction to the latest work of spark neural network
Two points -leetcode-540 A single element in an ordered array
"Designer universe" argument: Data Optimization in the design field is finally reflected in cost, safety and health | chinabrand.com org
Feature_selection
随机推荐
2022-02-13 (347. Top k high frequency elements)
金仓KFS数据双向同步场景部署
Which code editor is easy to use? Code editing software recommendation
Sklearn data preprocessing
Deep dive kotlin synergy (20): build flow
使用BENCHMARKSQL工具对kingbaseES执行灌数据提示无法找到JDBC driver
What are the Bluetooth headsets with good sound quality in 2022? Inventory of four high-quality Bluetooth headsets
Redraw and reflow
How to connect WiFi with raspberry pie
使用BENCHMARKSQL工具对KingbaseES执行测试时报错funcs sh file not found
P35-P41 fourth_ context
Mila, University of Ottawa | molecular geometry pre training with Se (3) invariant denoising distance matching
Analysis of the reason why the server cannot connect remotely
What is the correct way to compare ntext columns with constant values- What's the right way to compare an NTEXT column with a constant value?
Causal AI, a new paradigm for industrial upgrading of the next generation of credible AI?
MySQL field userid comma separated save by userid query
[Chongqing Guangdong education] reference materials for design and a better life of Zhongyuan Institute of science and technology
金仓数据库KingbaseES 插件kdb_date_function
300+ documents! This article explains the latest progress of multimodal learning based on transformer
[Yu Yue education] reference materials of political communication science of Communication University of China