Static analysis tools look for a wide range of potential errors with code that compilers do not look for. Cppcheck is a an open source static analysis tool, it is extensible and being actively developed. These are the sorts of errors that can be found Out of bounds checking Memory leaks checking Detect possible...
Tag: jenkins
gcov code coverage in eclipse and Jenkins
Introduction This post gives step by step instructions for adding code coverage with gcov to a google test eclipse project that is built as part of a CI process on Jenkins. This post starts from the point of already having a project compiled by a gnu compiler, in an eclipse CDT project that is being...
Automating eclipse CDT build on Jenkins
In my previous posts I have shown how to setup Jenkins to work with SVN and trac running on the Raspberry PI. I have also shown how to configure eclipse to work with google test and how to configure eclipse to work with SVN and trac. This post covers how to automate the build of...
Integrating SVN, trac and jenkins with eclipse CDT
I have previously posted on how to install trac, SVN and jenkins on the Raspberry Pi, and also on how to install (see the bottom of this post for related posts). When using Eclipse there are helpful plugins that tightly integrate all of these tools. This post covers the installation and configuration of these tools....
A solution to Jenkins jobs conflicting over shared resources
I have been looking for a way to manage the execution of Jenkins jobs that require exclusive access to a resource other than the Jenkins slave it is being built on. Let's consider two scenarios that can cause problems.Shared Physical ResourceWorking with embedded systems I often want to run tests on an embedded device as...
Configuring a Jenkins Slave to build VS2013 projects
Introduction I have previously installed Jenkins, SVN and Trac on a single Raspberry Pi 2, with the intention of having a home Continuous Integration server (CI). I now want to get a visual studio 2013 solution built by Jenkins. As a first project I have decided to get googletest (gtest) to build. As a precursor...
Integrating trac and Jenkins
In this post I cover how I have integrated Trac and Jenkins using HudsonTracPlugin and Jenkins Trac Plugin. I am running both Trac and Jenkins on a Raspberry Pi 2. Trac Plugin The Trac Plugin is a plugin for Jenkins that creates links from Jenkins projects to Trac instances. As an example, if you committed a change with the following...
Installing Jenkins on Raspberry Pi
I want to get a CI system setup at home and decided to try getting Jenkins up and running on a Raspberry Pi 2. My starting point is the latest Rasbian distribution, I have fixed the IP address of this Raspberry PI at 192.168.0.34. NOTE: I initially tried just installing jenkins from Rasbian, with sudo...