Skip to content
Jenkins example setup discussed on thoughts-on-cpp
Branch: master
Clone or download
Latest commit 0412cba Mar 26, 2019
Type Name Latest commit message Commit time
Failed to load latest commit information.
.idea Finalizing Mar 26, 2019
test Wrong C++ version fixed to C++11 Mar 26, 2019
Jenkinsfile Deploy Mar 26, 2019
LICENSE url added Mar 26, 2019
helloWorld.cpp Basic project setup Mar 25, 2019
helloWorld.h Basic project setup Mar 25, 2019
main.cpp Basic project setup Mar 25, 2019


A jenkins build automation example, as discussed on for a C++/Qt desktop application utilizing CMake, CTest and CPPCheck.

Getting Started

This is a very basic build setup defined with jenkins declarative pipeline. It's using CMake for the build process, CTest for executing the tests and CPPCheck for static code analysis


  • C++11
  • Qt5 as UI-Framework
  • Catch2 as Testing-Framework
  • Vcpkg as Package Manager
  • CPPCheck as Static Code Analyzer
  • Jenkins as Build Orchestrator with CMake and CPPCheck plugin

Important to note is that CMake needs the Vcpkg toolchain file to resolve the necessary dependencies




This project is licensed under the MIT License - see the LICENSE file for details

You can’t perform that action at this time.