15 June 2015

Configuring Job For Build in Jenkins - PART II

Posted by NcrJobPortal.in  |  at   Monday, June 15, 2015

Configuring Job For Build Now, Subversion in Jenkins - 2017Configuring Job For Build  in Jenkins - PART II




1. From the Main Jenkins Menu Click New Job Link:

Create New Job in Jenkins Localhost

























2.) Now you see New Job Configuration Page:

Jenkins : New Jobs Configuration Page - Job Name - FreeStyle Maven












3.) Set Job Name to Demo and check Build a Free-Style software project and click on OK.


4.) Jenkins will now create job workspace on disk and redirect you to configuration page :

Create Job Workspace in Jenkins Configuration Project















SOURCE CONTROL IN JENKINS

1.) We will use Subversion to set up source control but plugins are available for git and other source control tools 

2.) Check the Subversion radio button
Source Code Management Subversion Module in Jenkins



3.) If your repository require authentication Jenkins will display error message and ask you to supply credentials

Subversion Repository in Jenkins





4.)Click enter credential link .You will be shown a authentication page.

Subversion Authentication in Jenkins CI




5.) Enter user name and password and click on Ok


BUILD TRIGGER IN JENKINS

1.) If you want to trigger a build every time our source code change we achieve this by build triggers

Trigger Build in Jenkins Immediately after Code Commit/Push to SVN GIT Repository




2.) Tick the Poll SCM checkbox
3.) Enter the time you want to poll SCM
 for example input 5 * * * * 


ADDING BUILD STEP IN JENKINS

1.) Click on Add Build Step button under the Build Section
Add Build Step in Jenkins - Tutorials







2.) Select Build a Visual Studio Project or solution using MS Build. 


3.) This will add Ms Build area under the Build Section.

Build a visual studio project or solution using msbuild jenkins









4.) Select MSBuild Version from the Drop Down. 

5.) Set MSBuild Build File to the name of your solution with reference to workspace location support your project file name is project.sln and present in root folder then input project.sln 

6.) Click on save button and you will redirected to Project Page.


BUILD NOW IN JENKINS

1.) From the Project page we can active a build using build now.
Build Now Option in Jenkins

















2.) Click the Build Now button which will build the job we have configured. 

3.) Build History will show the Job running:

Build History in Build Now Jenkins


4.) Click on the hyperlink which will open complete description of the build.

Build History to Console Output in Jenkins















 5.) Click on Console Output to see all the output.


Get Latest Freshers Jobs Alerts
Register Here, It's FREE

www.ncrjobportal.in

Freshers Jobs in Delhi/NCR 2015, Noida, Gurgaon, Latest Today Freshers Jobs, Walkins, Recruitment, Vacancies For B.Tech, M.C.A Freshers 2015, Freshers 2016 Job Openings in Delhi/NCR. Today Walkins, Latest and Upto date Freshers Jobs in Delhi/NCR This Week and IT Freshers Jobs in Delhi/NCR.

PHP DEVELOPER JOBS | MBA JOBS | PHP JOBS

Subscribe For e-Jobs

Subscribe To Our E-mail Newsletter To Receive Latest Career Updates and Job Information

Share This Job

Related Jobs

 

TOP JOBS OF THE WEEK

Let's Help Someone to Get a First JOB TODAY!

Looking to KickStart Career ? Like Us to Get Job Updates!

Receive All NCR Jobs Updates via FB, Join Us

Powered By NCRJOBPORTAL

back to top