-
-
Notifications
You must be signed in to change notification settings - Fork 191
Expand file tree
/
Copy pathJenkinsfile
More file actions
27 lines (22 loc) · 665 Bytes
/
Jenkinsfile
File metadata and controls
27 lines (22 loc) · 665 Bytes
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
properties([
buildDiscarder(logRotator(numToKeepStr: '5')),
disableConcurrentBuilds(abortPrevious: true)
])
node('linux-amd64') {
stage('Checkout') {
infra.checkoutSCM()
}
stage('Build') {
withEnv(['PATH+LOCAL=/home/jenkins/.local/bin']) {
sh 'pip install --upgrade pip'
sh 'pip install -r requirements.txt'
def args = ['clean', 'install', '-Dset.changelist']
infra.runMaven(args, 25)
}
}
stage('Archive') {
junit '**/target/surefire-reports/TEST-*.xml'
infra.prepareToPublishIncrementals()
}
}
infra.maybePublishIncrementals()