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' } } stage('Generatin flamegraph') { steps { sh 'generate_flame_graph.sh' archiveArtifacts artifacts: 'flamegraph.svg', fingerprint: true } } } }