https://hub.docker.com/_/jenkins/
- Ubuntu 20.04
- cmake 3.22
- googletest 1.11.0-3
- libgtest-dev 1.11.0-3
- g++-11.3.0
- xsltproc
- cmake -DJENKINS-TEST=ON -S . -B build
- cmake --build build
- cd build/test
- ctest
- export GTEST_OUTPUT="xml:/path/to/directory"
- ctest
- git clone https://github.com/adarmalik/gtest2html.git
- for i in
ls
; do xsltproc gtest2html.xslt ${i} > ${i%xml}html; done
- cd env
- docker build . -t
- docker run -p 8080:8080 -p 50000:50000
- (Installing Jenkins) select "Install suggested plugins"
- (Installing Jenkins) View Configuration
- (Installing Jenkins) add CMake plugin
- (Installing Jenkins) create new job
- (Installing Jenkins) select "Free Style Project"
- (Installing Jenkins) fill "git repository url"
- (Installing Jenkins) select CMake/CPack/CTest execution as build step
- (Installing Jenkins) create another CMake/CPack/CTest execution to build application
- (Installing Jenkins) save and start building
docker exec -it /bin/bash
su - test
- link, include file check
- memory
- excuting time
- C0, C1 -> gcovr + Cobertura
- ■doxygen
- gmock, gtest
- sonarqube
- redmine + hubot -> ticket log http://qiita.com/tenten0213/items/91b9598cf1edf930df0c