Home - nthakur34/JenkinsGithub GitHub Wiki

Welcome to the JenkinsGithub wiki!

Setup currently for Windows only. Tutorial to get Jenkins up and running and connected to Github. Specifically, it sets up Matlab to run tests for code in specified branches of a project. Here I set up Jenkins to build the project on the "test" branch every day at 12:00am for the CERR Github project.

So if a contributor for CERR wants to push some edits to the project, they would push to the testing branch and never touch the master. Everyday, Jenkins will run its tests on the code in the testing branch, and if successful will merge to master, else fail.

How does a contributor deal with pushing now?

Its rather simple. Just fetch any new branches. Checkout the testing branch. commit and push any changes to that branch. Check email the next day to see if merge to master failed, fix code to pass tests, re-push code.