22 lines
541 B
Groovy
22 lines
541 B
Groovy
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
|
|
}
|
|
}
|
|
}
|
|
}
|