22 lines
534 B
Groovy
22 lines
534 B
Groovy
pipeline {
|
|
agent { dockerfile true }
|
|
|
|
triggers {
|
|
pollSCM('H * * * *')
|
|
}
|
|
|
|
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
|
|
}
|
|
}
|
|
}
|
|
}
|