SlideShare a Scribd company logo
1 of 25
Download to read offline
 
 
 
 
 
 
 
 
 
 
Jenkins Setup Document
 
   
BrainBox Network. Copyright@2015. All rights reserved
 
 
The document provides steps to integrate Android Application with Jenkins.
The integration process requires following steps ‐
1. System Requirements
2. Download Jenkins
3. Starting Jenkins
4. How to Install Tomcat in Windows
5. Configure Apache with Jenkins
6. Jenkins First Look
7. Configuration
8. JDK Setup
9. PlugIn Installation
10. List of Necessary Plugins 
11. Jenkins New Project Setup
12. Get Project from Repository
13. Build Android Project
14. Email Notification
15. Advanced Setting
16. Set Success Trigger
17. Setup Notification Detail
18. Set Failure Trigger
19. Setup Notification Detail
20. Project Build Error
21. Build the Project
BrainBox Network. Copyright@2015. All rights reserved
 
 
SYSTEM REQUIREMENTS 
 
➔ JDK :​JDK 1.5 or above
➔ Memory:​2GB RAM (recommended)
➔ Disk Space:​No minimum requirement. Note that since all builds will be stored on the Jenkins
machines, it has to be ensured that sufficient disk space is available for build storage.
➔ Operating System Version:​Jenkins can be installed on Windows, Ubuntu/Debian, Red
Hat/Fedora/CentOS, Mac OS X, openSUSE, FReeBSD, OpenBSD, Gentoo.
➔ Java Container:​The WAR file can be run in any container that supports Servlet 2.4/JSP 2.0 or
later.(An example is ​TOMCAT/APACHE​).
BrainBox Network. Copyright@2015. All rights reserved
 
 
DOWNLOAD JENKINS 
 
➔ Open Given Link :​​https://jenkins‐ci.org/
➔ Download Jenkins for system
BrainBox Network. Copyright@2015. All rights reserved
 
 
STARTING JENKINS 
➔ Open the command prompt,
➔ Browse to the directory where the “Jenkins.war” file is present.
➔ Run the following command:
Mostly Jenkins installation directory location is:​C:Program Files (x86)Jenkins
​Command:​Java –jar Jenkins.war
➔ Accessing Jenkins:​ ​Once Jenkins is up and running,  
You can access Jenkins from the link − ​http://localhost:8080
 
BrainBox Network. Copyright@2015. All rights reserved
 
 
HOW TO INSTALL TOMCAT IN WINDOWS MACHINE 
 
➔ Link ​https://tomcat.apache.org/download‐70.cgi​use for download the tomcat.
➔ Then unzip the contents of the downloaded zip file and install.
BrainBox Network. Copyright@2015. All rights reserved
 
 
CONFIGURE APACHE WITH JENKINS 
 
➔ Copy the ​Jenkis.war​file and PASTE it to the webapps folder in the tomcat folder.
➔ Now open the​​command prompt
➔ Browse to the bin directory in this folder and run the start.bat file
E:Appstomcat7bin>startup.bat
➔ Then open ​http://localhost/jenkins
BrainBox Network. Copyright@2015. All rights reserved
 
 
JENKINS FIRST LOOK 
BrainBox Network. Copyright@2015. All rights reserved
 
 
CONFIGURATION 
 
➔ Click on “Manage Jenkins” link, showing in left side bar of the screen.
➔ Click on “Configuration Setting”, showing in the container part of the screen.
 
BrainBox Network. Copyright@2015. All rights reserved
 
 
JDK SETUP 
 
➔ Click on “JDK Installations” button
➔ Set JDK path, where you want the install JDK in your machine.
➔ Then click “Save”
BrainBox Network. Copyright@2015. All rights reserved
 
 
➔ Then click on “Available” button
➔ Then put the “Go to next Slide” in your “Filter” showing in right top corner.
➔ Check and select Plugin,
➔ Then Click “Download now and install after restart” button
BrainBox Network. Copyright@2015. All rights reserved
 
 
INSTALL PLUGIN 
➔ Click on “Manage Plugin” icon, it is located in container part of the screen.
 
 
 
 
BrainBox Network. Copyright@2015. All rights reserved
 
 
LIST FOR NECESSARY PLUGINS 
 
1. Credentials Plugin
2. Email Extension Plugin
3. Google Authenticated Source plugin
4. Google Login Plugin
5. Google OAuth Credentials plugin
6. Gradle plugin
7. Subversion Plug‐in
8. OAuth Credentials plugin
9. SSH Credentials Plugin
➔ Go to “Configure System”
➔ Go to extended email notification
➔ Click “Advanced”
➔ Fill in blank:
1. SMTP server ‐> smtp.gmail.com (Mandatory)
2. Use SMTP Authentication ‐> CHECK TRUE (Mandatory)
3. USER NAME ‐> <YOUR_EMAIL_ID> (Mandatory)
4. PASSWORD ‐> <YOUR_EMAIL_ID_PASSWORD> (Mandatory)
5. USE SSL ‐> CHECK TRUE (Mandatory)
6. SMTP PORT ‐> 465 (Mandatory)
7. Default Recipients ‐> <ANY EMAIL ID> (Mandatory)
➔ Save and Restart.
BrainBox Network. Copyright@2015. All rights reserved
 
 
JENKINS NEW PROJECT SETUP 
➔ OPEN ​http://localhost:8080/
➔ Create new Job:​Click on “New Item”
➔ Enter your project name in “Item Name” text box
➔ Check true “Freestyle project”
➔ Press “OK”
BrainBox Network. Copyright@2015. All rights reserved
 
 
GET PROJECT FROM  REPOSITORY 
 
 
➔ Go to “Source Code Management” block
➔ Select “Subversion”
➔ Enter Repository Url”
➔ Insert “Use Svn update as much as possible” in the “Check‐out Strategy” field
➔ Press “Apply”
➔ In first time Svn setup you also configure Svn credential
➔ Click “Enter Credentials”, and enter your Svn credentials
BrainBox Network. Copyright@2015. All rights reserved
 
 
BUILD ANDROID PROJECT 
 
 
 
➔ Go To “Build Tag”
➔ Click on “Add Build Setup”
➔
➔ Select “Execute windows batch command”
➔ Paste below code in Command Prompt:
​gradlew.bat assembleDebug
➔ ADD ONE MORE COMMAND BOX by clicking on “Add build step” and paste below code
➔ if exist temp rmdir temp /S /Q
➔ if not exist temp mkdir temp
copy /Y "%WORKSPACE%appbuildoutputsapk<YOUR_APK_NAME>.apk"
"temp<YOUR_APK_NAME>_%BUILD_NUMBER%.apk"
move /Y "%WORKSPACE%appbuildoutputsapk<YOUR_APK_NAME>.apk"
"c:Program Files (x86)JenkinsuserContent"
➔ As shown below :‐
BrainBox Network. Copyright@2015. All rights reserved
 
 
➔ Press “Apply”.
EMAIL NOTIFICATION 
 
➔ NOTIFICATION ON SUCCESS BUILD (SEND APK WITH NOTIFICATION)
1. Go To post build action tag
2. Select “Add Post build action”
3. Select “Editable Email Notification”
BrainBox Network. Copyright@2015. All rights reserved
 
 
ADVANCED SETTING 
 
 
 
➔ Click on “Advanced Setting”
BrainBox Network. Copyright@2015. All rights reserved
 
 
SET SUCCESS TRIGGER 
 
 
 
➔ Go To “Trigger” tag
➔ Press “Add Trigger”
➔ Select “success”
➔ Screen looks like below screen
➔ Select “Advanced”.
BrainBox Network. Copyright@2015. All rights reserved
 
 
SETUP NOTIFICATION DETAIL 
 
 
 
➔ Add “Recipient List” (Ex: ​mohit.mobifly@gmail.com​)
➔ Set “Subject” (Ex: $PROJECT_NAME ‐ $BUILD_NUMBER ‐ $BUILD_STATUS)
➔ Set “Content” :
​<html>
<body>
<h4>Build # $BUILD_NUMBER ‐ $BUILD_STATUS</h4>
<h4>APK Name: <YOUR_APK_NAME>_$BUILD_TYPE_ $BUILD_NUMBER .apk</h4>
</body>
</html>
➔ Add “Attachments”
Copy & Paste given code:​​(temp/*.apk)
➔ Set “Attach Build Log”: ​If you want to attach any bulid log, then you have to select “Attach
Build Log” otherwise select “Do Not Attach Build Log”
BrainBox Network. Copyright@2015. All rights reserved
 
 
SET FAILURE TRIGGER 
 
 
 
➔ Go To “Trigger Tag”
➔ Press “Add Trigger”
➔ Select “Failure”
➔ Your screen will looks like below shown screen
BrainBox Network. Copyright@2015. All rights reserved
 
 
SETUP NOTIFICATION DETAIL 
 
➔ ADD Recipient List​​(Ex: ​mohit.mobifly@gmail.com​)
➔ Set Subject (Ex: $PROJECT_NAME ‐ $BUILD_NUMBER ‐ $BUILD_STATUS)
➔ Set Content (<ANY INFORMATION>)
➔ Set “Attach Build Log” (Select “Attach Build Log”)
➔ Save and Build now.
BrainBox Network. Copyright@2015. All rights reserved
 
 
PROJECT BUILD ERROR 
➔ If during build a Project on jenkin , An exception occurs with message “The SDK directory
does not exist.”
As shown below :‐
➔ Then go through the jenkins directory of your system :
1. Open workspace folder under your project folder in jenkins directory
2. Update “local.properties” file with your local SDK path and save it.
 
   
BrainBox Network. Copyright@2015. All rights reserved
 
 
NOW BUILD THE PROJECT 
 
➔ On successful build of project.
➔ Find generated APK on your specified locations.
➔ Check your specified emails also.
BrainBox Network. Copyright@2015. All rights reserved
 
 
Thank You So Very Much
For queries please write on ​ashish@mobifly.in
Developed By
Mohit Saini
Android Developer ‐ Mobifly
mobifly.in
BrainBox Network. Copyright@2015. All rights reserved
 

More Related Content

What's hot

My Database Skills Killed the Server
My Database Skills Killed the ServerMy Database Skills Killed the Server
My Database Skills Killed the ServerColdFusionConference
 
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016
DevOops Redux Ken Johnson Chris Gates  - AppSec USA 2016DevOops Redux Ken Johnson Chris Gates  - AppSec USA 2016
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016Chris Gates
 
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....Gavin Pickin
 
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...Andrea Cardinali
 
First steps with Gutenberg for developers - WC Prague 2020
First steps with Gutenberg for developers - WC Prague 2020First steps with Gutenberg for developers - WC Prague 2020
First steps with Gutenberg for developers - WC Prague 2020Magdalena Paciorek
 
Build, Deploy and Run Node Js Application on Azure using Docker
Build, Deploy and Run Node Js Application on Azure using DockerBuild, Deploy and Run Node Js Application on Azure using Docker
Build, Deploy and Run Node Js Application on Azure using DockerOsama Mustafa
 
Continuous Integration and Deployment Patterns for Magento
Continuous Integration and Deployment Patterns for MagentoContinuous Integration and Deployment Patterns for Magento
Continuous Integration and Deployment Patterns for MagentoAOE
 
When Web meet Native App
When Web meet Native AppWhen Web meet Native App
When Web meet Native AppYu-Wei Chuang
 
Writing a Jenkins / Hudson plugin
Writing a Jenkins / Hudson pluginWriting a Jenkins / Hudson plugin
Writing a Jenkins / Hudson pluginAnthony Dahanne
 
WinOps meetup April 2016 DevOps lessons from Microsoft \\Build\
WinOps meetup April 2016   DevOps lessons from Microsoft \\Build\WinOps meetup April 2016   DevOps lessons from Microsoft \\Build\
WinOps meetup April 2016 DevOps lessons from Microsoft \\Build\DevOpsGroup
 
DevOops & How I hacked you DevopsDays DC June 2015
DevOops & How I hacked you DevopsDays DC June 2015DevOops & How I hacked you DevopsDays DC June 2015
DevOops & How I hacked you DevopsDays DC June 2015Chris Gates
 
Jenkins Plugin Development With Gradle And Groovy
Jenkins Plugin Development With Gradle And GroovyJenkins Plugin Development With Gradle And Groovy
Jenkins Plugin Development With Gradle And GroovyDaniel Spilker
 
Continuous Integration with Hackintosh
Continuous Integration with HackintoshContinuous Integration with Hackintosh
Continuous Integration with HackintoshDavid Ventura, M.E.T.
 
Step by step guide for creating wordpress plugin
Step by step guide for creating wordpress pluginStep by step guide for creating wordpress plugin
Step by step guide for creating wordpress pluginMainak Goswami
 

What's hot (18)

Realtime with-websockets-2015
Realtime with-websockets-2015Realtime with-websockets-2015
Realtime with-websockets-2015
 
My Database Skills Killed the Server
My Database Skills Killed the ServerMy Database Skills Killed the Server
My Database Skills Killed the Server
 
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016
DevOops Redux Ken Johnson Chris Gates  - AppSec USA 2016DevOops Redux Ken Johnson Chris Gates  - AppSec USA 2016
DevOops Redux Ken Johnson Chris Gates - AppSec USA 2016
 
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
Take home your very own free Vagrant CFML Dev Environment - Presented at dev....
 
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
Gestione avanzata di WordPress con WP-CLI - WordCamp Torino 2017 - Andrea Car...
 
First steps with Gutenberg for developers - WC Prague 2020
First steps with Gutenberg for developers - WC Prague 2020First steps with Gutenberg for developers - WC Prague 2020
First steps with Gutenberg for developers - WC Prague 2020
 
HTTPS and HTTP/2
HTTPS and HTTP/2HTTPS and HTTP/2
HTTPS and HTTP/2
 
Build, Deploy and Run Node Js Application on Azure using Docker
Build, Deploy and Run Node Js Application on Azure using DockerBuild, Deploy and Run Node Js Application on Azure using Docker
Build, Deploy and Run Node Js Application on Azure using Docker
 
Continuous Integration and Deployment Patterns for Magento
Continuous Integration and Deployment Patterns for MagentoContinuous Integration and Deployment Patterns for Magento
Continuous Integration and Deployment Patterns for Magento
 
When Web meet Native App
When Web meet Native AppWhen Web meet Native App
When Web meet Native App
 
Writing a Jenkins / Hudson plugin
Writing a Jenkins / Hudson pluginWriting a Jenkins / Hudson plugin
Writing a Jenkins / Hudson plugin
 
WinOps meetup April 2016 DevOps lessons from Microsoft \\Build\
WinOps meetup April 2016   DevOps lessons from Microsoft \\Build\WinOps meetup April 2016   DevOps lessons from Microsoft \\Build\
WinOps meetup April 2016 DevOps lessons from Microsoft \\Build\
 
DevOops & How I hacked you DevopsDays DC June 2015
DevOops & How I hacked you DevopsDays DC June 2015DevOops & How I hacked you DevopsDays DC June 2015
DevOops & How I hacked you DevopsDays DC June 2015
 
Jenkins Plugin Development With Gradle And Groovy
Jenkins Plugin Development With Gradle And GroovyJenkins Plugin Development With Gradle And Groovy
Jenkins Plugin Development With Gradle And Groovy
 
Testing Automaton - CFSummit 2016
Testing Automaton - CFSummit 2016Testing Automaton - CFSummit 2016
Testing Automaton - CFSummit 2016
 
Automated ui-testing
Automated ui-testingAutomated ui-testing
Automated ui-testing
 
Continuous Integration with Hackintosh
Continuous Integration with HackintoshContinuous Integration with Hackintosh
Continuous Integration with Hackintosh
 
Step by step guide for creating wordpress plugin
Step by step guide for creating wordpress pluginStep by step guide for creating wordpress plugin
Step by step guide for creating wordpress plugin
 

Viewers also liked

TEMPORARY WETLANDS IN SPAIN final
TEMPORARY WETLANDS IN SPAIN finalTEMPORARY WETLANDS IN SPAIN final
TEMPORARY WETLANDS IN SPAIN finalAdhitya Wirayasa
 
Jarvier Peeples - Resume - January 2017
Jarvier Peeples - Resume - January 2017Jarvier Peeples - Resume - January 2017
Jarvier Peeples - Resume - January 2017Jarvier Peeples
 
Conclusiones Coneia 2011
Conclusiones Coneia 2011Conclusiones Coneia 2011
Conclusiones Coneia 2011AEEIA
 
ENC Times-December 10,2016
ENC Times-December 10,2016ENC Times-December 10,2016
ENC Times-December 10,2016ENC
 
AGUA EN EL PLANETA DE LA VIDA
AGUA EN EL PLANETA DE LA VIDAAGUA EN EL PLANETA DE LA VIDA
AGUA EN EL PLANETA DE LA VIDALorena Gracia
 
AF 137 (SS 200) - Ka
AF 137 (SS 200) - KaAF 137 (SS 200) - Ka
AF 137 (SS 200) - KaStripovi Klub
 
Data bases in educatioanl contexts
Data bases in educatioanl contextsData bases in educatioanl contexts
Data bases in educatioanl contextsAmal Jith
 
Case Study on Property Portal Data Security
Case Study on Property Portal Data SecurityCase Study on Property Portal Data Security
Case Study on Property Portal Data SecurityProperty Portal Watch
 
Refactoring Workflows & Techniques Presentation by Valentin Stantescu
Refactoring Workflows & Techniques Presentation by Valentin StantescuRefactoring Workflows & Techniques Presentation by Valentin Stantescu
Refactoring Workflows & Techniques Presentation by Valentin StantescuPayU Türkiye
 
PLDT Investment in Rocket Internet
PLDT Investment in Rocket InternetPLDT Investment in Rocket Internet
PLDT Investment in Rocket InternetPierre Poignant
 

Viewers also liked (14)

Images(2)
Images(2)Images(2)
Images(2)
 
The beach in Hua Hin Thailand by Ingemar Pongratz
The beach in Hua Hin Thailand by Ingemar PongratzThe beach in Hua Hin Thailand by Ingemar Pongratz
The beach in Hua Hin Thailand by Ingemar Pongratz
 
TEMPORARY WETLANDS IN SPAIN final
TEMPORARY WETLANDS IN SPAIN finalTEMPORARY WETLANDS IN SPAIN final
TEMPORARY WETLANDS IN SPAIN final
 
Jarvier Peeples - Resume - January 2017
Jarvier Peeples - Resume - January 2017Jarvier Peeples - Resume - January 2017
Jarvier Peeples - Resume - January 2017
 
Conclusiones Coneia 2011
Conclusiones Coneia 2011Conclusiones Coneia 2011
Conclusiones Coneia 2011
 
ENC Times-December 10,2016
ENC Times-December 10,2016ENC Times-December 10,2016
ENC Times-December 10,2016
 
AGUA EN EL PLANETA DE LA VIDA
AGUA EN EL PLANETA DE LA VIDAAGUA EN EL PLANETA DE LA VIDA
AGUA EN EL PLANETA DE LA VIDA
 
AF 137 (SS 200) - Ka
AF 137 (SS 200) - KaAF 137 (SS 200) - Ka
AF 137 (SS 200) - Ka
 
Escuela Nº 605
Escuela Nº 605Escuela Nº 605
Escuela Nº 605
 
presentacion
presentacionpresentacion
presentacion
 
Data bases in educatioanl contexts
Data bases in educatioanl contextsData bases in educatioanl contexts
Data bases in educatioanl contexts
 
Case Study on Property Portal Data Security
Case Study on Property Portal Data SecurityCase Study on Property Portal Data Security
Case Study on Property Portal Data Security
 
Refactoring Workflows & Techniques Presentation by Valentin Stantescu
Refactoring Workflows & Techniques Presentation by Valentin StantescuRefactoring Workflows & Techniques Presentation by Valentin Stantescu
Refactoring Workflows & Techniques Presentation by Valentin Stantescu
 
PLDT Investment in Rocket Internet
PLDT Investment in Rocket InternetPLDT Investment in Rocket Internet
PLDT Investment in Rocket Internet
 

Similar to Jenkins Setup Document

Mixpanel Integration in Android
Mixpanel Integration in AndroidMixpanel Integration in Android
Mixpanel Integration in Androidmobi fly
 
Chocolatey - making the process of installing software on windows easy as pie
Chocolatey - making the process of installing software on windows easy as pieChocolatey - making the process of installing software on windows easy as pie
Chocolatey - making the process of installing software on windows easy as pieJustin James
 
Setting up your virtual infrastructure using fi-lab cloud
Setting up your virtual infrastructure using fi-lab cloudSetting up your virtual infrastructure using fi-lab cloud
Setting up your virtual infrastructure using fi-lab cloudFernando Lopez Aguilar
 
Install NewGenLib on Windows XP
Install NewGenLib on Windows XPInstall NewGenLib on Windows XP
Install NewGenLib on Windows XPRupesh Kumar
 
Practical Installation Process Of New Gen Lib Oss On Windows Xp For Library A...
Practical Installation Process Of New Gen Lib Oss On Windows Xp For Library A...Practical Installation Process Of New Gen Lib Oss On Windows Xp For Library A...
Practical Installation Process Of New Gen Lib Oss On Windows Xp For Library A...Goutam Biswas
 
Sencha touchonbb10 bootcamp
Sencha touchonbb10 bootcampSencha touchonbb10 bootcamp
Sencha touchonbb10 bootcampn_adam_stanley
 
Installation Process Of New Gen Lib Oss On Windows Xp For Library Automation ...
Installation Process Of New Gen Lib Oss On Windows Xp For Library Automation ...Installation Process Of New Gen Lib Oss On Windows Xp For Library Automation ...
Installation Process Of New Gen Lib Oss On Windows Xp For Library Automation ...Goutam Biswas
 
Software industrialization
Software industrializationSoftware industrialization
Software industrializationBibek Lama
 
Create Applicationwith IIS 7
Create Applicationwith IIS 7Create Applicationwith IIS 7
Create Applicationwith IIS 7Sandeep Verma
 
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
( 16 ) Office 2007   Create An Extranet Site With Forms Authentication( 16 ) Office 2007   Create An Extranet Site With Forms Authentication
( 16 ) Office 2007 Create An Extranet Site With Forms AuthenticationLiquidHub
 
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandCI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandTroublemaker Khunpech
 
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017MarcinStachniuk
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum
 
Bugzilla Installation Process
Bugzilla Installation ProcessBugzilla Installation Process
Bugzilla Installation ProcessVino Harikrishnan
 
Jenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSXJenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSXGagan Vishal Mishra
 
Installing WordPress on AWS
Installing WordPress on AWSInstalling WordPress on AWS
Installing WordPress on AWSManish Jain
 
Dev ops &amp; laas fundamental
Dev ops &amp; laas fundamentalDev ops &amp; laas fundamental
Dev ops &amp; laas fundamentalKanin Kearpimy
 

Similar to Jenkins Setup Document (20)

Mixpanel Integration in Android
Mixpanel Integration in AndroidMixpanel Integration in Android
Mixpanel Integration in Android
 
Chocolatey - making the process of installing software on windows easy as pie
Chocolatey - making the process of installing software on windows easy as pieChocolatey - making the process of installing software on windows easy as pie
Chocolatey - making the process of installing software on windows easy as pie
 
Setting up your virtual infrastructure using fi-lab cloud
Setting up your virtual infrastructure using fi-lab cloudSetting up your virtual infrastructure using fi-lab cloud
Setting up your virtual infrastructure using fi-lab cloud
 
Install NewGenLib on Windows XP
Install NewGenLib on Windows XPInstall NewGenLib on Windows XP
Install NewGenLib on Windows XP
 
Practical Installation Process Of New Gen Lib Oss On Windows Xp For Library A...
Practical Installation Process Of New Gen Lib Oss On Windows Xp For Library A...Practical Installation Process Of New Gen Lib Oss On Windows Xp For Library A...
Practical Installation Process Of New Gen Lib Oss On Windows Xp For Library A...
 
Sencha touchonbb10 bootcamp
Sencha touchonbb10 bootcampSencha touchonbb10 bootcamp
Sencha touchonbb10 bootcamp
 
Installation Process Of New Gen Lib Oss On Windows Xp For Library Automation ...
Installation Process Of New Gen Lib Oss On Windows Xp For Library Automation ...Installation Process Of New Gen Lib Oss On Windows Xp For Library Automation ...
Installation Process Of New Gen Lib Oss On Windows Xp For Library Automation ...
 
Software industrialization
Software industrializationSoftware industrialization
Software industrialization
 
Newgenlib
NewgenlibNewgenlib
Newgenlib
 
Newgenlib
NewgenlibNewgenlib
Newgenlib
 
Create Applicationwith IIS 7
Create Applicationwith IIS 7Create Applicationwith IIS 7
Create Applicationwith IIS 7
 
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
( 16 ) Office 2007   Create An Extranet Site With Forms Authentication( 16 ) Office 2007   Create An Extranet Site With Forms Authentication
( 16 ) Office 2007 Create An Extranet Site With Forms Authentication
 
Gwt portlet
Gwt portletGwt portlet
Gwt portlet
 
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day ThailandCI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
CI/CD with Jenkins and Docker - DevOps Meetup Day Thailand
 
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
Continuous Delivery w projekcie Open Source - Marcin Stachniuk - DevCrowd 2017
 
Orangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User ManualOrangescrum In App Chat Add-on User Manual
Orangescrum In App Chat Add-on User Manual
 
Bugzilla Installation Process
Bugzilla Installation ProcessBugzilla Installation Process
Bugzilla Installation Process
 
Jenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSXJenkins CI/CD setup for iOS in Mac OSX
Jenkins CI/CD setup for iOS in Mac OSX
 
Installing WordPress on AWS
Installing WordPress on AWSInstalling WordPress on AWS
Installing WordPress on AWS
 
Dev ops &amp; laas fundamental
Dev ops &amp; laas fundamentalDev ops &amp; laas fundamental
Dev ops &amp; laas fundamental
 

More from mobi fly

Mobifly - mobile and web application development company gurgaon - brochure
Mobifly -   mobile and web application development company gurgaon - brochureMobifly -   mobile and web application development company gurgaon - brochure
Mobifly - mobile and web application development company gurgaon - brochuremobi fly
 
Urban Airship & Android Application Integration Document
Urban Airship & Android Application Integration DocumentUrban Airship & Android Application Integration Document
Urban Airship & Android Application Integration Documentmobi fly
 
Procto r executive presentation
Procto r   executive presentationProcto r   executive presentation
Procto r executive presentationmobi fly
 
Last mile mobile app for logistics
Last mile   mobile app for logisticsLast mile   mobile app for logistics
Last mile mobile app for logisticsmobi fly
 
Monitoring as a_servihttp://www.slideshare.net/upload#ce_4_healthcareproviders
Monitoring as a_servihttp://www.slideshare.net/upload#ce_4_healthcareprovidersMonitoring as a_servihttp://www.slideshare.net/upload#ce_4_healthcareproviders
Monitoring as a_servihttp://www.slideshare.net/upload#ce_4_healthcareprovidersmobi fly
 

More from mobi fly (6)

Mobifly - mobile and web application development company gurgaon - brochure
Mobifly -   mobile and web application development company gurgaon - brochureMobifly -   mobile and web application development company gurgaon - brochure
Mobifly - mobile and web application development company gurgaon - brochure
 
Razorpay
RazorpayRazorpay
Razorpay
 
Urban Airship & Android Application Integration Document
Urban Airship & Android Application Integration DocumentUrban Airship & Android Application Integration Document
Urban Airship & Android Application Integration Document
 
Procto r executive presentation
Procto r   executive presentationProcto r   executive presentation
Procto r executive presentation
 
Last mile mobile app for logistics
Last mile   mobile app for logisticsLast mile   mobile app for logistics
Last mile mobile app for logistics
 
Monitoring as a_servihttp://www.slideshare.net/upload#ce_4_healthcareproviders
Monitoring as a_servihttp://www.slideshare.net/upload#ce_4_healthcareprovidersMonitoring as a_servihttp://www.slideshare.net/upload#ce_4_healthcareproviders
Monitoring as a_servihttp://www.slideshare.net/upload#ce_4_healthcareproviders
 

Recently uploaded

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsEnterprise Knowledge
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...HostedbyConfluent
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure servicePooja Nehwal
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024Results
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking MenDelhi Call girls
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024The Digital Insurer
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Paola De la Torre
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Miguel Araújo
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024Rafal Los
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxOnBoard
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationMichael W. Hawkins
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGSujit Pal
 

Recently uploaded (20)

IAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI SolutionsIAC 2024 - IA Fast Track to Search Focused AI Solutions
IAC 2024 - IA Fast Track to Search Focused AI Solutions
 
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
Transforming Data Streams with Kafka Connect: An Introduction to Single Messa...
 
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure serviceWhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
WhatsApp 9892124323 ✓Call Girls In Kalyan ( Mumbai ) secure service
 
A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024A Call to Action for Generative AI in 2024
A Call to Action for Generative AI in 2024
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men08448380779 Call Girls In Greater Kailash - I Women Seeking Men
08448380779 Call Girls In Greater Kailash - I Women Seeking Men
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024Finology Group – Insurtech Innovation Award 2024
Finology Group – Insurtech Innovation Award 2024
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101Salesforce Community Group Quito, Salesforce 101
Salesforce Community Group Quito, Salesforce 101
 
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
Mastering MySQL Database Architecture: Deep Dive into MySQL Shell and MySQL R...
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
Maximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptxMaximizing Board Effectiveness 2024 Webinar.pptx
Maximizing Board Effectiveness 2024 Webinar.pptx
 
GenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day PresentationGenCyber Cyber Security Day Presentation
GenCyber Cyber Security Day Presentation
 
Google AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAGGoogle AI Hackathon: LLM based Evaluator for RAG
Google AI Hackathon: LLM based Evaluator for RAG
 

Jenkins Setup Document

  • 1.                     Jenkins Setup Document       BrainBox Network. Copyright@2015. All rights reserved  
  • 2.   The document provides steps to integrate Android Application with Jenkins. The integration process requires following steps ‐ 1. System Requirements 2. Download Jenkins 3. Starting Jenkins 4. How to Install Tomcat in Windows 5. Configure Apache with Jenkins 6. Jenkins First Look 7. Configuration 8. JDK Setup 9. PlugIn Installation 10. List of Necessary Plugins  11. Jenkins New Project Setup 12. Get Project from Repository 13. Build Android Project 14. Email Notification 15. Advanced Setting 16. Set Success Trigger 17. Setup Notification Detail 18. Set Failure Trigger 19. Setup Notification Detail 20. Project Build Error 21. Build the Project BrainBox Network. Copyright@2015. All rights reserved  
  • 3.   SYSTEM REQUIREMENTS    ➔ JDK :​JDK 1.5 or above ➔ Memory:​2GB RAM (recommended) ➔ Disk Space:​No minimum requirement. Note that since all builds will be stored on the Jenkins machines, it has to be ensured that sufficient disk space is available for build storage. ➔ Operating System Version:​Jenkins can be installed on Windows, Ubuntu/Debian, Red Hat/Fedora/CentOS, Mac OS X, openSUSE, FReeBSD, OpenBSD, Gentoo. ➔ Java Container:​The WAR file can be run in any container that supports Servlet 2.4/JSP 2.0 or later.(An example is ​TOMCAT/APACHE​). BrainBox Network. Copyright@2015. All rights reserved  
  • 4.   DOWNLOAD JENKINS    ➔ Open Given Link :​​https://jenkins‐ci.org/ ➔ Download Jenkins for system BrainBox Network. Copyright@2015. All rights reserved  
  • 5.   STARTING JENKINS  ➔ Open the command prompt, ➔ Browse to the directory where the “Jenkins.war” file is present. ➔ Run the following command: Mostly Jenkins installation directory location is:​C:Program Files (x86)Jenkins ​Command:​Java –jar Jenkins.war ➔ Accessing Jenkins:​ ​Once Jenkins is up and running,   You can access Jenkins from the link − ​http://localhost:8080   BrainBox Network. Copyright@2015. All rights reserved  
  • 6.   HOW TO INSTALL TOMCAT IN WINDOWS MACHINE    ➔ Link ​https://tomcat.apache.org/download‐70.cgi​use for download the tomcat. ➔ Then unzip the contents of the downloaded zip file and install. BrainBox Network. Copyright@2015. All rights reserved  
  • 7.   CONFIGURE APACHE WITH JENKINS    ➔ Copy the ​Jenkis.war​file and PASTE it to the webapps folder in the tomcat folder. ➔ Now open the​​command prompt ➔ Browse to the bin directory in this folder and run the start.bat file E:Appstomcat7bin>startup.bat ➔ Then open ​http://localhost/jenkins BrainBox Network. Copyright@2015. All rights reserved  
  • 9.   CONFIGURATION    ➔ Click on “Manage Jenkins” link, showing in left side bar of the screen. ➔ Click on “Configuration Setting”, showing in the container part of the screen.   BrainBox Network. Copyright@2015. All rights reserved  
  • 10.   JDK SETUP    ➔ Click on “JDK Installations” button ➔ Set JDK path, where you want the install JDK in your machine. ➔ Then click “Save” BrainBox Network. Copyright@2015. All rights reserved  
  • 11.   ➔ Then click on “Available” button ➔ Then put the “Go to next Slide” in your “Filter” showing in right top corner. ➔ Check and select Plugin, ➔ Then Click “Download now and install after restart” button BrainBox Network. Copyright@2015. All rights reserved  
  • 12.   INSTALL PLUGIN  ➔ Click on “Manage Plugin” icon, it is located in container part of the screen.         BrainBox Network. Copyright@2015. All rights reserved  
  • 13.   LIST FOR NECESSARY PLUGINS    1. Credentials Plugin 2. Email Extension Plugin 3. Google Authenticated Source plugin 4. Google Login Plugin 5. Google OAuth Credentials plugin 6. Gradle plugin 7. Subversion Plug‐in 8. OAuth Credentials plugin 9. SSH Credentials Plugin ➔ Go to “Configure System” ➔ Go to extended email notification ➔ Click “Advanced” ➔ Fill in blank: 1. SMTP server ‐> smtp.gmail.com (Mandatory) 2. Use SMTP Authentication ‐> CHECK TRUE (Mandatory) 3. USER NAME ‐> <YOUR_EMAIL_ID> (Mandatory) 4. PASSWORD ‐> <YOUR_EMAIL_ID_PASSWORD> (Mandatory) 5. USE SSL ‐> CHECK TRUE (Mandatory) 6. SMTP PORT ‐> 465 (Mandatory) 7. Default Recipients ‐> <ANY EMAIL ID> (Mandatory) ➔ Save and Restart. BrainBox Network. Copyright@2015. All rights reserved  
  • 14.   JENKINS NEW PROJECT SETUP  ➔ OPEN ​http://localhost:8080/ ➔ Create new Job:​Click on “New Item” ➔ Enter your project name in “Item Name” text box ➔ Check true “Freestyle project” ➔ Press “OK” BrainBox Network. Copyright@2015. All rights reserved  
  • 15.   GET PROJECT FROM  REPOSITORY      ➔ Go to “Source Code Management” block ➔ Select “Subversion” ➔ Enter Repository Url” ➔ Insert “Use Svn update as much as possible” in the “Check‐out Strategy” field ➔ Press “Apply” ➔ In first time Svn setup you also configure Svn credential ➔ Click “Enter Credentials”, and enter your Svn credentials BrainBox Network. Copyright@2015. All rights reserved  
  • 16.   BUILD ANDROID PROJECT        ➔ Go To “Build Tag” ➔ Click on “Add Build Setup” ➔ ➔ Select “Execute windows batch command” ➔ Paste below code in Command Prompt: ​gradlew.bat assembleDebug ➔ ADD ONE MORE COMMAND BOX by clicking on “Add build step” and paste below code ➔ if exist temp rmdir temp /S /Q ➔ if not exist temp mkdir temp copy /Y "%WORKSPACE%appbuildoutputsapk<YOUR_APK_NAME>.apk" "temp<YOUR_APK_NAME>_%BUILD_NUMBER%.apk" move /Y "%WORKSPACE%appbuildoutputsapk<YOUR_APK_NAME>.apk" "c:Program Files (x86)JenkinsuserContent" ➔ As shown below :‐ BrainBox Network. Copyright@2015. All rights reserved  
  • 17.   ➔ Press “Apply”. EMAIL NOTIFICATION    ➔ NOTIFICATION ON SUCCESS BUILD (SEND APK WITH NOTIFICATION) 1. Go To post build action tag 2. Select “Add Post build action” 3. Select “Editable Email Notification” BrainBox Network. Copyright@2015. All rights reserved  
  • 18.   ADVANCED SETTING        ➔ Click on “Advanced Setting” BrainBox Network. Copyright@2015. All rights reserved  
  • 19.   SET SUCCESS TRIGGER        ➔ Go To “Trigger” tag ➔ Press “Add Trigger” ➔ Select “success” ➔ Screen looks like below screen ➔ Select “Advanced”. BrainBox Network. Copyright@2015. All rights reserved  
  • 20.   SETUP NOTIFICATION DETAIL        ➔ Add “Recipient List” (Ex: ​mohit.mobifly@gmail.com​) ➔ Set “Subject” (Ex: $PROJECT_NAME ‐ $BUILD_NUMBER ‐ $BUILD_STATUS) ➔ Set “Content” : ​<html> <body> <h4>Build # $BUILD_NUMBER ‐ $BUILD_STATUS</h4> <h4>APK Name: <YOUR_APK_NAME>_$BUILD_TYPE_ $BUILD_NUMBER .apk</h4> </body> </html> ➔ Add “Attachments” Copy & Paste given code:​​(temp/*.apk) ➔ Set “Attach Build Log”: ​If you want to attach any bulid log, then you have to select “Attach Build Log” otherwise select “Do Not Attach Build Log” BrainBox Network. Copyright@2015. All rights reserved  
  • 21.   SET FAILURE TRIGGER        ➔ Go To “Trigger Tag” ➔ Press “Add Trigger” ➔ Select “Failure” ➔ Your screen will looks like below shown screen BrainBox Network. Copyright@2015. All rights reserved  
  • 22.   SETUP NOTIFICATION DETAIL    ➔ ADD Recipient List​​(Ex: ​mohit.mobifly@gmail.com​) ➔ Set Subject (Ex: $PROJECT_NAME ‐ $BUILD_NUMBER ‐ $BUILD_STATUS) ➔ Set Content (<ANY INFORMATION>) ➔ Set “Attach Build Log” (Select “Attach Build Log”) ➔ Save and Build now. BrainBox Network. Copyright@2015. All rights reserved  
  • 23.   PROJECT BUILD ERROR  ➔ If during build a Project on jenkin , An exception occurs with message “The SDK directory does not exist.” As shown below :‐ ➔ Then go through the jenkins directory of your system : 1. Open workspace folder under your project folder in jenkins directory 2. Update “local.properties” file with your local SDK path and save it.       BrainBox Network. Copyright@2015. All rights reserved  
  • 24.   NOW BUILD THE PROJECT    ➔ On successful build of project. ➔ Find generated APK on your specified locations. ➔ Check your specified emails also. BrainBox Network. Copyright@2015. All rights reserved  
  • 25.   Thank You So Very Much For queries please write on ​ashish@mobifly.in Developed By Mohit Saini Android Developer ‐ Mobifly mobifly.in BrainBox Network. Copyright@2015. All rights reserved