Sunday, April 1, 2018

Source Code Management section-build jobs in Jenkins-Devops step by step

What are the available tabs displayed on Manage plugins?

There are four tabs available on Manage plugins screen. Updates, Available, Installed and Advanced.


What is the role of Source Code Management section?

Jenkins works by checking out the source code of your project and building it in its own workspace, the thing is need to do is to tell Jenkins where it can find the source code for your project. This activity will do in the source code management section.

Jenkins provides support for CVS and Subversion out of the box, and many other such as Git, Mercurial, Clearcase, Perforce and many more via plugins.


How to scheduling the build jobs in Jenkins?

Build trigger section will manage to monitor the source code repository and stat a build whenever any changes have been committed.

Pick the ‘Poll SCM’ option and enter “ * * * *  *“ (that’s five asterisks separated by spaces) in the scheduled box. Jenkins schedules are configured using the ‘Cron’ Syntax.

The ‘CORN’ syntax consists of five fields separated by spaces indicating respectively the minutes (0-59), Hour (0-23), Day of the month (1-31), Month (1-12) and Day of the week (0-7, with 0 and 7 being SUNDAY).

The star is a wildcard character which accepts any valid value for that fields.


<<Previous             Next >>


Jenkins FAQ

No comments:

Post a Comment