Soumettre la recherche
Mettre en ligne
把玩 Jenkins CI
•
5 j'aime
•
795 vues
Hao Lee
Suivre
簡介如何架設 Jenkins CI,並且介紹部份外掛套件,最後實際新增一個建置作業。
Lire moins
Lire la suite
Logiciels
Signaler
Partager
Signaler
Partager
1 sur 56
Télécharger maintenant
Télécharger pour lire hors ligne
Recommandé
Erd optionality
Erd optionality
Inge Powell
Erd cardinality
Erd cardinality
Inge Powell
Hierarchical architecture
Hierarchical architecture
brigeit
Formal and Practical Aspects of Security of Operating System
Formal and Practical Aspects of Security of Operating System
Meghaj Mallick
C# Framework class library
C# Framework class library
Prem Kumar Badri
Software Engineering :UML class diagrams
Software Engineering :UML class diagrams
Ajit Nayak
C#ppt
C#ppt
Sambasivarao Kurakula
Logical database design and the relational model(database)
Logical database design and the relational model(database)
welcometofacebook
Recommandé
Erd optionality
Erd optionality
Inge Powell
Erd cardinality
Erd cardinality
Inge Powell
Hierarchical architecture
Hierarchical architecture
brigeit
Formal and Practical Aspects of Security of Operating System
Formal and Practical Aspects of Security of Operating System
Meghaj Mallick
C# Framework class library
C# Framework class library
Prem Kumar Badri
Software Engineering :UML class diagrams
Software Engineering :UML class diagrams
Ajit Nayak
C#ppt
C#ppt
Sambasivarao Kurakula
Logical database design and the relational model(database)
Logical database design and the relational model(database)
welcometofacebook
Slide 4 Interaction Diagram
Slide 4 Interaction Diagram
Niloy Rocker
android menus
android menus
Deepa Rani
Usability Engineering Process Flow Model - Sivaprasath Selvaraj
Usability Engineering Process Flow Model - Sivaprasath Selvaraj
Sivaprasath Selvaraj
Methodologies in OOAD
Methodologies in OOAD
Vivek Raj Agarwal
Aspect-Oriented Software Development with Use Cases
Aspect-Oriented Software Development with Use Cases
www.myassignmenthelp.net
UML Architecture and Views
UML Architecture and Views
Kumar
9 Real Life Applications of Java
9 Real Life Applications of Java
PrachiVarshney7
Chapter2 j2ee
Chapter2 j2ee
Jafar Nesargi
CSharp Presentation
CSharp Presentation
Vishwa Mohan
What Is Usability?
What Is Usability?
Peter "Dr. Pete" Meyers
Data models
Data models
Thakshayini Chandramohan
HTML5 Canvas
HTML5 Canvas
Robyn Overstreet
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
Ajit Nayak
Java J2EE
Java J2EE
Sandeep Rawat
Introduction to Database Management Systems
Introduction to Database Management Systems
Dr. C.V. Suresh Babu
Fundamental principles of Usability and User Centred Design
Fundamental principles of Usability and User Centred Design
BART RADKA
Responsive web designing ppt(1)
Responsive web designing ppt(1)
admecindia1
Sql lite android
Sql lite android
Dushyant Nasit
C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#
Hawkman Academy
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...
Jimmy Lai
Git&Github Tutorial
Git&Github Tutorial
Ting Wen Su
Contenu connexe
Tendances
Slide 4 Interaction Diagram
Slide 4 Interaction Diagram
Niloy Rocker
android menus
android menus
Deepa Rani
Usability Engineering Process Flow Model - Sivaprasath Selvaraj
Usability Engineering Process Flow Model - Sivaprasath Selvaraj
Sivaprasath Selvaraj
Methodologies in OOAD
Methodologies in OOAD
Vivek Raj Agarwal
Aspect-Oriented Software Development with Use Cases
Aspect-Oriented Software Development with Use Cases
www.myassignmenthelp.net
UML Architecture and Views
UML Architecture and Views
Kumar
9 Real Life Applications of Java
9 Real Life Applications of Java
PrachiVarshney7
Chapter2 j2ee
Chapter2 j2ee
Jafar Nesargi
CSharp Presentation
CSharp Presentation
Vishwa Mohan
What Is Usability?
What Is Usability?
Peter "Dr. Pete" Meyers
Data models
Data models
Thakshayini Chandramohan
HTML5 Canvas
HTML5 Canvas
Robyn Overstreet
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
Ajit Nayak
Java J2EE
Java J2EE
Sandeep Rawat
Introduction to Database Management Systems
Introduction to Database Management Systems
Dr. C.V. Suresh Babu
Fundamental principles of Usability and User Centred Design
Fundamental principles of Usability and User Centred Design
BART RADKA
Responsive web designing ppt(1)
Responsive web designing ppt(1)
admecindia1
Sql lite android
Sql lite android
Dushyant Nasit
C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#
Hawkman Academy
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
Muhammad Bilal Tariq
Tendances
(20)
Slide 4 Interaction Diagram
Slide 4 Interaction Diagram
android menus
android menus
Usability Engineering Process Flow Model - Sivaprasath Selvaraj
Usability Engineering Process Flow Model - Sivaprasath Selvaraj
Methodologies in OOAD
Methodologies in OOAD
Aspect-Oriented Software Development with Use Cases
Aspect-Oriented Software Development with Use Cases
UML Architecture and Views
UML Architecture and Views
9 Real Life Applications of Java
9 Real Life Applications of Java
Chapter2 j2ee
Chapter2 j2ee
CSharp Presentation
CSharp Presentation
What Is Usability?
What Is Usability?
Data models
Data models
HTML5 Canvas
HTML5 Canvas
Object Oriented Analysis Design using UML
Object Oriented Analysis Design using UML
Java J2EE
Java J2EE
Introduction to Database Management Systems
Introduction to Database Management Systems
Fundamental principles of Usability and User Centred Design
Fundamental principles of Usability and User Centred Design
Responsive web designing ppt(1)
Responsive web designing ppt(1)
Sql lite android
Sql lite android
C# 101: Intro to Programming with C#
C# 101: Intro to Programming with C#
INTRODUCTION TO DATABASE
INTRODUCTION TO DATABASE
Similaire à 把玩 Jenkins CI
Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...
Jimmy Lai
Git&Github Tutorial
Git&Github Tutorial
Ting Wen Su
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
Wen-Tien Chang
Linux Container Introduction
Linux Container Introduction
家弘 周
Continuous integration
Continuous integration
netdbncku
[2020 .NET Conf] 企業Azure DevOps Service 實際應用架構與秘辛
[2020 .NET Conf] 企業Azure DevOps Service 實際應用架構與秘辛
Edward Kuo
企業導入微服務實戰 - updated
企業導入微服務實戰 - updated
Paul Chao
用 Docker 改善團隊合作模式
用 Docker 改善團隊合作模式
Bo-Yi Wu
2, installation
2, installation
ted-xu
Asp.net core v1.0
Asp.net core v1.0
chang kuo-chao
Asp.net core v1.0
Asp.net core v1.0
國昭 張
钱宝坤:多浏览器集成的JavaScript单元测试工具
钱宝坤:多浏览器集成的JavaScript单元测试工具
taobao.com
開發環境建置
開發環境建置
Shengyou Fan
廣宣學堂: 企業導入微服務實戰
廣宣學堂: 企業導入微服務實戰
Paul Chao
企業導入微服務實戰 - updated
企業導入微服務實戰 - updated
Paul Chao
全新 Windows Server 2019 容器技術及邁向與 Kubernetes 整合之路 (Windows Server 高峰會)
全新 Windows Server 2019 容器技術及邁向與 Kubernetes 整合之路 (Windows Server 高峰會)
Will Huang
Windows Container 101: dotNET, Container, Kubernetes
Windows Container 101: dotNET, Container, Kubernetes
Will Huang
DEV305 - ASP.NET 5 開發攻略
DEV305 - ASP.NET 5 開發攻略
Will Huang
Docker tutorial
Docker tutorial
azole Lai
Scrum gathering 2012 shanghai 精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 shanghai 精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
LetAgileFly
Similaire à 把玩 Jenkins CI
(20)
Continuous Delivery: automated testing, continuous integration and continuous...
Continuous Delivery: automated testing, continuous integration and continuous...
Git&Github Tutorial
Git&Github Tutorial
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
A brief introduction to Vagrant – 原來 VirtualBox 可以這樣玩
Linux Container Introduction
Linux Container Introduction
Continuous integration
Continuous integration
[2020 .NET Conf] 企業Azure DevOps Service 實際應用架構與秘辛
[2020 .NET Conf] 企業Azure DevOps Service 實際應用架構與秘辛
企業導入微服務實戰 - updated
企業導入微服務實戰 - updated
用 Docker 改善團隊合作模式
用 Docker 改善團隊合作模式
2, installation
2, installation
Asp.net core v1.0
Asp.net core v1.0
Asp.net core v1.0
Asp.net core v1.0
钱宝坤:多浏览器集成的JavaScript单元测试工具
钱宝坤:多浏览器集成的JavaScript单元测试工具
開發環境建置
開發環境建置
廣宣學堂: 企業導入微服務實戰
廣宣學堂: 企業導入微服務實戰
企業導入微服務實戰 - updated
企業導入微服務實戰 - updated
全新 Windows Server 2019 容器技術及邁向與 Kubernetes 整合之路 (Windows Server 高峰會)
全新 Windows Server 2019 容器技術及邁向與 Kubernetes 整合之路 (Windows Server 高峰會)
Windows Container 101: dotNET, Container, Kubernetes
Windows Container 101: dotNET, Container, Kubernetes
DEV305 - ASP.NET 5 開發攻略
DEV305 - ASP.NET 5 開發攻略
Docker tutorial
Docker tutorial
Scrum gathering 2012 shanghai 精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Scrum gathering 2012 shanghai 精益与持续改进分会场演讲话题: 大型企业ci平台建设和实施分享(陈小光)
Plus de Hao Lee
客製化換頁動畫
客製化換頁動畫
Hao Lee
Coding Freestyle
Coding Freestyle
Hao Lee
SceneKit 簡介
SceneKit 簡介
Hao Lee
105-2 iOS程式設計(十七)
105-2 iOS程式設計(十七)
Hao Lee
105-2 iOS程式設計(十五)
105-2 iOS程式設計(十五)
Hao Lee
105-2 iOS程式設計(十四)
105-2 iOS程式設計(十四)
Hao Lee
105-2 iOS程式設計(十三)
105-2 iOS程式設計(十三)
Hao Lee
105-2 iOS程式設計(十二)
105-2 iOS程式設計(十二)
Hao Lee
105-2 iOS程式設計(十一)
105-2 iOS程式設計(十一)
Hao Lee
105-2 iOS程式設計(十)
105-2 iOS程式設計(十)
Hao Lee
105-2 iOS程式設計(九)
105-2 iOS程式設計(九)
Hao Lee
105-2 iOS程式設計(八)
105-2 iOS程式設計(八)
Hao Lee
105-2 iOS程式設計(七)
105-2 iOS程式設計(七)
Hao Lee
105-2 iOS程式設計(六)
105-2 iOS程式設計(六)
Hao Lee
105-2 iOS程式設計(五)
105-2 iOS程式設計(五)
Hao Lee
105-2 iOS程式設計(四)
105-2 iOS程式設計(四)
Hao Lee
105-2 iOS程式設計(三)
105-2 iOS程式設計(三)
Hao Lee
105-2 iOS程式設計(二)
105-2 iOS程式設計(二)
Hao Lee
105-2 iOS程式設計(一)
105-2 iOS程式設計(一)
Hao Lee
Plus de Hao Lee
(19)
客製化換頁動畫
客製化換頁動畫
Coding Freestyle
Coding Freestyle
SceneKit 簡介
SceneKit 簡介
105-2 iOS程式設計(十七)
105-2 iOS程式設計(十七)
105-2 iOS程式設計(十五)
105-2 iOS程式設計(十五)
105-2 iOS程式設計(十四)
105-2 iOS程式設計(十四)
105-2 iOS程式設計(十三)
105-2 iOS程式設計(十三)
105-2 iOS程式設計(十二)
105-2 iOS程式設計(十二)
105-2 iOS程式設計(十一)
105-2 iOS程式設計(十一)
105-2 iOS程式設計(十)
105-2 iOS程式設計(十)
105-2 iOS程式設計(九)
105-2 iOS程式設計(九)
105-2 iOS程式設計(八)
105-2 iOS程式設計(八)
105-2 iOS程式設計(七)
105-2 iOS程式設計(七)
105-2 iOS程式設計(六)
105-2 iOS程式設計(六)
105-2 iOS程式設計(五)
105-2 iOS程式設計(五)
105-2 iOS程式設計(四)
105-2 iOS程式設計(四)
105-2 iOS程式設計(三)
105-2 iOS程式設計(三)
105-2 iOS程式設計(二)
105-2 iOS程式設計(二)
105-2 iOS程式設計(一)
105-2 iOS程式設計(一)
把玩 Jenkins CI
1.
把玩 Jenkins CI Hao
Lee, iOS @ Taipei 2017/12/12
2.
Jenkins CI 簡介 •
⼀一套開源的持續整合⼯工具 • 可以與版本管理理伺服器連動 • 可將測試報告以 HTML ⽅方式呈現 • 安裝外掛有更更多報表,例例:⾏行行數計算、覆蓋率
3.
4.
5.
6.
安裝 Jenkins CI •
可透過官網或 Homebrew 安裝 • 使⽤用 Homebrew 可隨時切換舊有版本 • 2.91版 + RVM 是場悲劇 • 有⼀一般版、LTS版 • 官網版會創建⼀一個共享級別的使⽤用者
7.
前置準備 • JDK 7
或 8 • 使⽤用 JDK 9 會無法安裝 java-runtime plugin • Xcode CLT • Homebrew
8.
啟動 Jenkins • 啟動前需確認是否需要讓外部可連線 •
啟動指令為:brew services start jenkins • 初次啟動需填入安全密碼,密碼存放位置參參考⾴頁 ⾯面提⽰示 • 初次啟動需創建管理理者帳號
9.
修改參參數
10.
解鎖 Jenkins
11.
啟動 Jenkins
12.
13.
Jenkins 外掛 • AnsiColor:輸出⽂文字可帶顏⾊色 •
Cobertura:處理理覆蓋率報告 • GitHub Authentication:使⽤用 GitHub 帳號登入 Jenkins • GitHub Issues:創建 GitHub Issues
14.
15.
16.
17.
18.
19.
20.
關閉登入驗證 設定錯誤造成無法登入或無⼈人擁有最⾼高權限時的補救⽅方法
21.
關閉登入驗證 設定錯誤造成無法登入或無⼈人擁有最⾼高權限時的補救⽅方法 false
22.
23.
24.
Jenkins 外掛 • Rvm:讓
Jenkins 作業套⽤用 RVM • SLOCCount:處理理 cloc 報告 • Startup Trigger:可啟動時觸發作業 • Throttle Concurrent Builds:分類建置作業 • Timestamper:輸出⽂文字旁顯⽰示時間
25.
26.
27.
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
環境設定
39.
避免Command Line中⽂文亂碼
40.
讓 Jenkins 可使⽤用
Homebrew
41.
設定git登入⽅方式 以帳密登入,不⽀支援兩兩階段登入
42.
建立新作業
43.
設定建置群組
44.
有使⽤用 submodule 記得要額外設定
45.
觸發⽅方式
46.
建置環境
47.
建置過程 基本上,過程全寫進 fastlane 裡了了
48.
產⽣生覆蓋率報告⾴頁⾯面
49.
發佈⾃自定的網⾴頁
50.
產⽣生各種報告⾴頁⾯面
51.
保留留指定的檔案
52.
保留留指定的檔案
53.
Email 通知建置失敗
54.
最後 你會得到這種⾴頁⾯面
55.
56.
Q & A
Télécharger maintenant