summaryrefslogtreecommitdiffstats
path: root/Jenkinsfile
blob: 21d4f11a8e336b825f99ccaf12adcc7f8a7e5c3d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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
            }
        }
    }
}