crafting-interpreters/Jenkinsfile
Tom Willemse 000297dde1 Use no arguments, update Lox.jar location
‘cmakeBuild’ is calling ‘make’, not ‘cmake --build’, so try passing in the ‘all’
target.
2020-11-15 21:10:57 -08:00

18 lines
483 B
Groovy

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