1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
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