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 Cont...
Search
Rachel Smith
March 28, 2015
Programming
3
160
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
480
Beyond Boxes
rachsmith
1
580
Special Agent You: Jank Detective
rachsmith
2
370
Beyond Boxes - Creative coding with JavaScript
rachsmith
0
510
Matters In Motion (Or How Rob Lowe Should Animate The Web)
rachsmith
2
940
Other Decks in Programming
See All in Programming
ピラミッド、アイスクリームコーン、SMURF: 自動テストの最適バランスを求めて / Pyramid Ice-Cream-Cone and SMURF
twada
PRO
10
1.2k
みんなでプロポーザルを書いてみた
yuriko1211
0
230
Quine, Polyglot, 良いコード
qnighy
4
630
CSC509 Lecture 11
javiergs
PRO
0
180
Tuning GraphQL on Rails
pyama86
2
1.2k
Jakarta EE meets AI
ivargrimstad
0
290
開発効率向上のためのリファクタリングの一歩目の選択肢 ~コード分割~ / JJUG CCC 2024 Fall
ryounasso
0
440
AWS IaCの注目アップデート 2024年10月版
konokenj
3
3.3k
Identifying User Idenity
moro
6
9.7k
Enabling DevOps and Team Topologies Through Architecture: Architecting for Fast Flow
cer
PRO
0
230
Why Jakarta EE Matters to Spring - and Vice Versa
ivargrimstad
0
830
Nurturing OpenJDK distribution: Eclipse Temurin Success History and plan
ivargrimstad
0
660
Featured
See All Featured
The Art of Delivering Value - GDevCon NA Keynote
reverentgeek
7
620
Building Better People: How to give real-time feedback that sticks.
wjessup
364
19k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
The Cult of Friendly URLs
andyhume
78
6k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
44
6.8k
For a Future-Friendly Web
brad_frost
175
9.4k
GitHub's CSS Performance
jonrohan
1030
460k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
27
830
Writing Fast Ruby
sferik
627
61k
Teambox: Starting and Learning
jrom
133
8.8k
Bash Introduction
62gerente
608
210k
A better future with KSS
kneath
238
17k
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!