pipeline { agent { dockerfile true } stages { stage('Build') { steps { cmakeBuild generator: 'Make', buildDir: 'build', sourceDir: 'src', installation: 'InSearchPath' archiveArtifacts artifacts: 'Lox.jar', fingerprint: false, onlyIfSuccessful: true } } } }