Jenkins:
The leading open source automation server, Jenkins provides hundreds of plugins to support building, deploying and automating any project.
Jenkins is a Continuous Integration server. Basically Continuous Integration is the practice of running your tests on a non-developer machine automatically every-time someone pushes new code into the source repository.
Prerequisites:
Java Development Kit (JDK)
Java Run-time Environment (JRE)
To install JDK go to http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
To install JRE go to http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html
To install Jenkins go to https://jenkins.io/download/
Unzip Jenkins zip file and install Jenkins msi on your windows machine.
Follow along the installation wizard, set URL and Port numbers if required. Create a new User if needed or skip the step.
After successful installation you can open up the HTTP://URL:PORT in any browser and it will show up like this.
There is a default admin user created by Jenkins for which you will need to add password generated by Jenkins for first use, you should change it later.
You can find this password in location: C:\Program Files (x86)\Jenkins\secrets\initialAdminPassword
To change generated password from Jenkins, go to Home page >> People >> click on admin >> Configure >> password.
To add a new user to store, click on the menu besides admin user showing up in top right corner and click on credentials. From this window you can add new users under global credentials.
To create a new job go to homepage and click on New Item. Enter a job name and select one of the options. In next page choose your job options and fill all the data required.
Now on the home page you can see the job is created. If you open work-space directory it will show error because you don't have any work-space for it. To solve this error click on Build Now and now you are all set up. If you want to delete this job click on Delete Project.
Best luck! :)
No comments:
Post a Comment
Note: Only a member of this blog may post a comment.