pipeline { agent { dockerfile true } triggers { pollSCM('H * * * *') } stages { stage('Build') { steps { cmakeBuild installation: 'InSearchPath', buildDir: 'build', sourceDir: 'jlox', steps: [[args: 'all']] archiveArtifacts artifacts: 'jlox/_build/com/craftinginterpreters/lox/Lox.jar', fingerprint: false, onlyIfSuccessful: true } } } }