Wednesday, September 27, 2017

GIT Repo

GIT is opensource version control where public repository is freely available

GIT has concept of local repository, and remote repository. If you do changes locally and commit the changes, changes will be committed to local repository. And when you push , the local repository will be committed(or pushed) to remote server.

You can create the local branch and work on those branches and merge to local master once you do testing, and then push master branch to repository.

If there is any conflict in master branch while pushing, GIT tells there is conflict and in that case, you need to pull the latest changes and then you can do the merge and after merging it goes to staging (indexing) and from there commit to local repository and then push to remote repository.

Tuesday, September 26, 2017

Continuous Integration with Jenkin

1. Download Jenkin
2. Create java project using maven
3. Write simple JUnit
4. Run Jenkin war
5.  Login to Jenkin console
6. Create Job
    - Create a maven goal  "test"
    - in advanced tab, provide the path of the pom.xml
7. Run the job


Its very easy steps to configure the Jenkin and understand continous integration for basic understanding