当前位置:网站首页>Continuous delivery blue ocean application
Continuous delivery blue ocean application
2022-06-27 01:19:00 【51CTO】
Blue Ocean It provides a set of visual operation interfaces to help create 、 edit Pipeline Mission .
Blue Ocean characteristic :
- Pipeline editor : Used to create a continuous delivery pipeline throughout , It is an intuitive and visual pipeline editor .
- Pipeline visualization : Visual representation of convective waterline , Improve the clarity of the enterprise wide continuous delivery process .
- Pipeline diagnosis : Locate automation problems immediately , No need to continuously scan logs or follow multiple screens .
- Personalized dashboard : You can customize the dashboard , Only the pipeline related to itself is displayed .
Installation and startup Blue Ocean
Blue Ocean yes Jenkins One of the plug-ins , In system management -> Plug-in management ," Optional plug-ins " Mid search "Blue Ocean" You can see the following results :
 Continuous delivery -Blue Ocean application _ unit testing](/img/ea/4f1f0afcebe2234e205f0f81d3328e.png)
Choose Blue Ocean, And then click Install Button to install . Restart after installation is complete Jenkins process , And then you can go in Jenkins Page Blue Ocean The icon . single click Blue Ocean The icon starts Blue Ocean.
stay Blue Ocean Created in Pipeline
stay Blue Ocean Middle click New Pipeline Create a new pipeline . establish Pipeline
 Continuous delivery -Blue Ocean application _ Graphical _02](/img/08/eacd9c4b2c99a5bfdfd3197d395559.png)
If your warehouse root directory has Jenkinsfile, Start the first build process directly . If the warehouse does not contain Jenkinsfile The open pipeline-editor, Graphical editing workflow . Blue Ocean Graphical editing workflow
 Continuous delivery -Blue Ocean application _ unit testing _03](/img/b6/cf2c8eb4ff762526a754f61f9e3b1f.png)
After editing, it will generate Jenkinsfile, And submit it to your code base root directory , You can choose to submit to master Branch or commit to a newly created Branch . After the submission is successful, a complete build process will begin . Blue Ocean establish Pipeline Commit code base & function
 Continuous delivery -Blue Ocean application _git_04](/img/70/396ecb365d52acf0f0f935c347dacb.png)
from Blue Ocean Generated Jenkinsfile The code will be saved in the project Github In the code base , You can edit it later 、 modify . Blue Ocean Generated Jenkinsfile Code
stay Blue Ocean Run build and view in
Run build
stay Blue Ocean Open in Pipeline Mission , single click Run Button to run the task directly . Blue Ocean Run in Pipeline Mission
 Continuous delivery -Blue Ocean application _ unit testing _05](/img/33/7e57e41d1086e5c70d718e8927d78c.png)
View the task progress view
Running Pipeline During the task, you can click the task number to enter the task details view to view the graphical progress . Blue Ocean Task progress query
 Continuous delivery -Blue Ocean application _ Graphical _06](/img/dc/83061b10b7d2416dd40b18e98a1cf7.png)
View log view
Click the corresponding work node in the task , You can query the log details during task operation . This log information can be used for debugging tasks , Especially when the task goes wrong , Log details can help check the cause of the task error . Task log
 Continuous delivery -Blue Ocean application _ unit testing _07](/img/1b/c6b284a8bfd731e8ecd3f676ec069d.jpg)
Use Blue Ocean Unit test and result display
For projects that contain unit tests ,Blue Ocean You can run unit tests and show the results . The following is used java Examples of single test items .
Pipeline Code implementation
pipeline{
agent {
label 'master'
}
stages{
stage('iTest Source code ') {
steps {
sh 'mkdir -p iTest'
dir("iTest"){
git branch:'master', url:'[email protected]:princeqjzh/iTest.git'
}
}
}
stage(' structure + Single measurement ') {
steps {
sh '''
cd iTest
mvn clean install test
'''
}
}
stage(' Release test records ') {
steps {
junit '**/*.xml'
}
}
}
}
- 1.
- 2.
- 3.
- 4.
- 5.
- 6.
- 7.
- 8.
- 9.
- 10.
- 11.
- 12.
- 13.
- 14.
- 15.
- 16.
- 17.
- 18.
- 19.
- 20.
- 21.
- 22.
- 23.
- 24.
- 25.
- 26.
- 27.
- 28.
- 29.
- 30.
- 31.
Single test results show
After the task runs , Get into Tests View test run results Single test results show
 Continuous delivery -Blue Ocean application _ Graphical _08](/img/91/ae22d82c29b309e05b607d3dc8330f.png)
Blue Ocean It provides more fun for developers Jenkins Usage mode , Build from the foundation , A new 、 Modern style user interface , Help teams of any size achieve continuous delivery .
边栏推荐
- Bs-gx-016 implementation of textbook management system based on SSM
- Break through the performance bottleneck of image recognition through rust language computing acceleration technology
- NLP: brief introduction of transformer in NLP natural language field (pre training technology), NLP model development (elmo/gpt/bert/mt-dnn/xlnet/roberta/albert), detailed introduction to classic case
- get_sequencer的用法总结
- Kept to implement redis autofailover (redisha) 12
- BS-GX-016基于SSM实现教材管理系统
- leetcode 1143. Longest Commom Subsequence 最长公共子序列(中等)
- USB协议中HID设备描述符以及键盘按键值对应编码表
- Modeling specifications: environment settings
- Online text digit recognition list summation tool
猜你喜欢

buuctf-pwn write-ups (6)

How to convert an old keyboard into a USB keyboard and program it yourself?

一键加速索尼相机SD卡文件的复制操作,文件操作批处理教程

Operating instructions and Q & A of cec-i China learning machine
![Count the logarithm of points that cannot reach each other in an undirected graph [classic adjacency table building +dfs Statistics - > query set optimization] [query set manual / write details]](/img/cc/a0be58eddc72c22a9a6ee5c61eb81a.png)
Count the logarithm of points that cannot reach each other in an undirected graph [classic adjacency table building +dfs Statistics - > query set optimization] [query set manual / write details]

LeetCode 142. Circular linked list II

Beyond lithium battery -- the concept of battery in the future

Review the old and know the new -- constant renewal at normal temperature

Flink practical problems (VII): no watermark (watermarks are only available eventtime is used)

Analysis of ideal L9 product power: the price is 459800 yuan, the four cylinder engine is adopted, and the endurance is 1315km
随机推荐
Encapsulation of unified result set
buuctf-pwn write-ups (6)
TopoLVM: 基于LVM的Kubernetes本地持久化方案,容量感知,动态创建PV,轻松使用本地磁盘
Systematic analysis of social networks using Networkx: Facebook network analysis case
做了两天的唯美蝴蝶动画
Esp32 add multi directory custom component
XSS攻击笔记(上)
可视化介绍 Matplotlib 和 Plotnine
07 | workflow design: how to design a reasonable multi person development mode?
Keepalived 实现 Redis AutoFailover (RedisHA)14
持续交付-Blue Ocean 应用
Hid device descriptor and keyboard key value corresponding coding table in USB protocol
How to measure the thickness of glass substrate by spectral confocal
Structure the fifth operation of the actual camp module
getReader() has already been called for this request
30 MySQL tutorial MySQL storage engine overview
getReader() has already been called for this request
建模规范:环境设置
memcached基础5
解决u8glib只显示一行文字或者不显示的问题