1. Login to Jenkins URL:
http://<server-ip>:8080, By Default Jenkins works on port 8080
Provide username and password to log in.
2. Click ‘New Item’ on the left side to create a job.
Enter an Item Name i.e. the Job name, select Freestyle project and click OK to proceed.
Click on ‘This project is parameterized’, click on Add Parameter and select ‘String Parameter’
Now Under String Parameter provides Name as ‘Revision’, Default Value as ‘Head’, and add any Description.
This is needed when you build project with the parameter, it will ask for Revision Number of your choice else will build with Head revision by default.
3. Go to Source Code Management tab.
Select ‘Subversion’, provide the Repository URL, provide credentials who has the access to the Repository URL that you have provided.
Go to the “How to Create Project in SCM-Manager” for more details.
4. Go to the Build Tab.
Click on Add build step and select Execute Shell.
Provide the shell script path or shell script that Jenkins going to execute when you build the project.
For the easy installation of Jenkins please go to the http://pkg.jenkins-ci.org, select your OS ( like RPM or Debian based ) and the follow the steps given.
nice job pranav
ReplyDelete