pipeline { agent { label "c++" } stages { stage('Checkout') { steps { checkout scm } } stage('Build') { steps { sh 'make main BUILD=release' sh 'make main BUILD=debug' } } } post { always { archiveArtifacts artifacts: 'main.debug, main.release' } } } // vim: ft=groovy cindent expandtab tabstop=4 shiftwidth=4