
Pre-Tested Commits with Jenkins and Reviewboard at Jenkins User Conference Israel
"Learn about pre-tested commits, developer workflows, build failures, and solutions presented at the Jenkins User Conference in Israel. Discover tools like Reviewboard, Git, and more for effective code management and collaboration." (274 characters)
Download Presentation

Please find below an Image/Link to download the presentation.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author. If you encounter any issues during the download, it is possible that the publisher has removed the file from their server.
You are allowed to download the files provided on this website for personal or commercial use, subject to the condition that they are used lawfully. All files are the property of their respective owners.
The content on the website is provided AS IS for your information and personal use only. It may not be sold, licensed, or shared on other websites without obtaining consent from the author.
E N D
Presentation Transcript
Jenkins User Conference Pre-Tested Commits with Jenkins and Reviewboard Israel , 06 June 2013 #jenkinsconf Yardena Meymann VMware http://www.vmware.com/ @jenkinsconf
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf About our team Developing a new product for IT financial management 30 engineers, Israel and Bangalore Infrastructure: Virtual Appliance, Linux, Java, Spring, tcServer, vPostgres, ExtJS Development: Git, Maven, IntelliJ, Bugzilla, Reviewboard, Jenkins (compilation, static analysis, tests, code coverage)
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Typical developer workflow Code See Jenkins results Test locally Peer review Push
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf But what if things go wrong? Build failure Code See Jenkins results Test locally Peer review Push
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Solution: pre-tested commits Code Test locally Push See Jenkins results Peer Review
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Inspiration GitHub - CloudBees JetBrains TeamCity Gerrit
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Reviewboard http://www.reviewboard.org/ Open source code review tool developed at VMware Can be used from command line or via web Written in Python, cross-platform client Integration with SVN, Git and (of course) Perforce Can send e-mails for reviews and comments
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Reviewboard
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Reviewboard
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Reviewboard
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Jenkins Patch Parameter plugin Create a job which is a copy of the regular main line build, but with a patch parameter
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Integrating Reviewboard and Jenkins Developer posts review Patch job is triggered via Jenkins API Instead of patch file, we pass review URL Jenkins downloads the diff using Reviewboard API, applies it and builds the project Jenkins reports the build result by sending a comment to Reviewboard (via API)
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf And now DEMO
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Jenkins Reviewbot architecture 1. trigger 0. submit diff for review 2. retrieve the diff 5. Jenkins approval @ 3. apply patch and build Reviewboard server 3+. peer approval Jenkins server @ 4. post build result 6.push git
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Gory details Developed a Reviewbot plugin extension of the Patch Parameter plugin A wrapper script to postreview plan to replace it with a trigger based on mail Currently in process of approving the release to open-source
Jenkins User Conference Israel , 06 June 2013 #jenkinsconf Thank You To Our Sponsors