pipeline { agent any stages { stage('Cloning git sumbodules') { steps { sh 'git submodule update --init --recursive' } } stage('Compile') { steps { sh 'cmake .' sh 'make -j 4' } } stage('Running catch2 tests') { steps { sh './performance_measuring_test > tests.txt' sh 'convert -background black -fill white -pointsize 16 -font Courier label:tests.txt tests.png' archiveArtifacts artifacts: 'tests.png', fingerprint: true } } stage('Generatin flamegraph') { steps { sh './generate_flame_graph.sh' archiveArtifacts artifacts: 'flamegraph.svg', fingerprint: true } } } }