Skip to Content
Jenkins 2权威指南
book

Jenkins 2权威指南

by Brent Laster
April 2019
Intermediate to advanced
566 pages
12h 12m
Chinese
Publishing House of Electronics Industry
Content preview from Jenkins 2权威指南
326
9
Blue Ocean
用户界面
不依赖现有
Jenkinsfile
创建一个全新的流水线
现有流水线的
Jenkinsfile
提供了一个在流水线编辑器中进行变更和增加新功能的基础。
但是你同样可以从零开始创建一条完整的流水线。实际上这是使用
Blue Ocean
用户界面
来创建流水线的默认工作流。让我们看看它是如何工作的。
如果我们在一个从未有过流水线的
Jenkins
实例中打开
Blue Ocean
页面,就会看到一个
类似于图
9-34
的界面。可点击该对话框中的按钮来创建一条全新的流水线。
9-34 第一次启动Blue Ocean
如果
Jenkins
中已经存在流水线,那么会在主界面的流水线列表中显示出来。我们可以
通过点击
Blue Ocean
主界面右上角的
New Pipeline
(新流水线)按钮来创建一条流水线(参
考图
9-34
的右上角)。
Blue Ocean
会提示我们选择想要使用的代码仓库(见图
9-35
),目前支持
Git
(指
代一个有权限访问的
Git
仓库)、
GitHub
(公有
Git
托管服务)、
GitHub Enterprise
Bitbucket Cloud
Bitbucket Server
。在本书的示例中,我们选择使用
GitHub
,所以
点击
GitHub
按钮。
第二部分:使用
Blue Ocean ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

Jenkins Administrator's Guide

Jenkins Administrator's Guide

Calvin Sangbin Park, Lalit Adithya, Sam Gleske
Kubernetes 实战

Kubernetes 实战

Brendan Burns, Eddie Villalba, Dave Strebel, Lachlan Evenson

Publisher Resources

ISBN: 9787121357633