Tom Willemse
000297dde1
‘cmakeBuild’ is calling ‘make’, not ‘cmake --build’, so try passing in the ‘all’ target.
18 lines
483 B
Groovy
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
|
|
}
|
|
}
|
|
}
|
|
}
|