-
Notifications
You must be signed in to change notification settings - Fork 5
/
Jenkinsfile
46 lines (46 loc) · 882 Bytes
/
Jenkinsfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
pipeline {
agent {
dockerfile {
additionalBuildArgs '--build-arg USER_ID=$(id -u) --build-arg GROUP_ID=$(id -g)'
}
}
options {
ansiColor('xterm')
}
stages {
stage("Init title") {
when { changeRequest() }
steps {
script {
currentBuild.displayName = "PR ${env.CHANGE_ID}: ${env.CHANGE_TITLE}"
}
}
}
stage('Build') {
steps {
sh '''
make deps -B
make build-java
'''
}
}
stage('Test Execution') {
steps {
sh '''
export PATH=$HOME/.local/bin:$PATH
nprocs=6
make test-execution -j"$nprocs"
'''
}
}
stage('Test Proof') {
steps {
sh '''
export PATH=$HOME/.local/bin:$PATH
nprocs=6
make test-proof -j"$nprocs"
'''
}
}
}
}