Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
My new friend Jenkins - A front-ender does Continuous Integration
Search
Rachel Smith
March 28, 2015
Programming
3
140
My new friend Jenkins - A front-ender does Continuous Integration
Rachel Smith
March 28, 2015
Tweet
Share
More Decks by Rachel Smith
See All by Rachel Smith
CodePen LA lightning preso Sept 2016
rachsmith
1
420
Beyond Boxes
rachsmith
1
530
Special Agent You: Jank Detective
rachsmith
2
320
Beyond Boxes - Creative coding with JavaScript
rachsmith
0
510
Matters In Motion (Or How Rob Lowe Should Animate The Web)
rachsmith
2
920
Other Decks in Programming
See All in Programming
WasmOS: Wasmを実行する自作Microkernel
riru
0
370
GitHub Copilot Tips and Tricks
yuichielectric
26
7.5k
とにかくHTTP3をライトニングに話す / Anyway, I'll talk to Lightning about HTTP3.
seike460
PRO
0
120
Swiftの型推論を学ぼう | Let's Learn About Type Inference in Swift
omochi
2
590
AppDeveloperCon 2024 EU: Building polyglot developer experiences in 2024
salaboy
0
380
phpunit/php-code-coverageって何をしてるんだ #phperkaigi
o0h
PRO
2
220
TCAの Shared Stateって どういう仕組みになってんの?
yimajo
0
330
プロンプトエンジニアリング入門
tomokusaba
2
980
上手な探索的テストとその上達方法について
matsu802
4
660
document.write再考
brn
5
2.5k
IntelliJ IDEA を知らなかった 自分に教えたい小ネタ集 / IntelliJ IDEA Hints for My Past Self
mackey0225
3
180
イベントストーミングによるオブジェクトモデリング・オブジェクト指向プログラミングの適用・開発プロセスの変遷・アーキテクチャの変革 / Object modeling with Event Storming.
nrslib
12
3.1k
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
174
21k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
11
1.4k
A Philosophy of Restraint
colly
195
15k
Refactoring Trust on Your Teams (GOTO; Chicago 2020)
rmw
24
2.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
242
20k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
14
1.3k
Clear Off the Table
cherdarchuk
82
310k
Code Review Best Practice
trishagee
54
15k
Making the Leap to Tech Lead
cromwellryan
123
8.4k
No one is an island. Learnings from fostering a developers community.
thoeni
14
2k
The Invisible Side of Design
smashingmag
293
49k
GraphQLとの向き合い方2022年版
quramy
28
12k
Transcript
MY NEW FRIEND JENKINS RACHEL SMITH @rachsmithtweets A FRONT-ENDER DOES
CONTINUOUS INTEGRATION
None
DEV OPS
OUR OLD MANUAL DEPLOYMENT PROCESS 1. RUN BUILD SCRIPT 2.
SFTP ASSETS TO SERVER 3. PUSH ASSETS TO CDN
1. RUN BUILD SCRIPT 2. SFTP ASSETS TO SERVER 3.
PUSH ASSETS TO CDN Time Consuming & No Accountability OUR OLD MANUAL DEPLOYMENT PROCESS
CONTINUOUS INTEGRATION Regular automated builds from the source code repository
STEP 1: GET A SERVA SERVER
None
None
None
STEP 2: CHOOSE A CONTINUOUS INTEGRATION SOFTWARE SOLUTION
DEAL WITH IT JENKINS CI FREE POPULAR KINDA UGLY
$ wget -q -O - https://jenkins-ci.org/ debian/jenkins-ci.org.key | sudo apt-key
add - $ sudo sh -c 'echo deb http://pkg.jenkins- ci.org/debian binary/ > /etc/apt/ sources.list.d/jenkins.list' $ sudo apt-get update $ sudo apt-get install jenkins
YOU JUST GONE AND DEV-OPSED
STEP 3: SECURE THE JENKINS INSTANCE http://www.sitepoint.com/installing-securing-jenkins/
STEP 4: CREATE YOUR FIRST JOB
THINGS YOU CAN DO WITH JENKINS Build from code repository
change Publish files over SFTP Run tests Basically anything you think of
SET UP ‘PUSH TO DEPLOY’
INSTALL GIT PLUGIN
ADD POST HOOK TO REPO
(THE FUN PART) ADD BUILD STEPS
None
YOU JUST GONE AND DEV-OPSED
WHAT DID I LEARN? THE INITIAL INVESTMENT INVOLVED IN SETTING
UP CONTINUOUS INTEGRATION IS SO, SO, WORTH IT
WHAT DID I LEARN? GET OUT THERE AND SEE WHAT
OTHER DEVS ARE DOING
WHAT DID I LEARN? DON’T LET YOUR JOB TITLE DICTATE
WHAT YOU CAN DO. THE WHOLE STACK IS WAITING FOR YOU!