crafting-interpreters/Jenkinsfile

22 lines
549 B
Groovy

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