-
Notifications
You must be signed in to change notification settings - Fork 0
/
Jenkinsfile.PDXC
37 lines (29 loc) · 953 Bytes
/
Jenkinsfile.PDXC
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
pipeline {
agent { docker { image 'devopsdojo/jenkins-yb' } }
stages {
stage('Checkout') {
steps {
echo 'Checkout'
checkout scm
}
}
stage('Build') {
steps {
echo 'Build'
sh "mvn --batch-mode clean package"
}
}
stage('Archive Test Results') {
steps {
echo 'Archive Test Results'
step([$class: 'JUnitResultArchiver', testResults: 'target/surefire-reports/TEST-*.xml'])
}
}
stage('Report ') {
steps {
echo 'Report'
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: false, reportDir: 'target/site/jacoco/', reportFiles: 'index.html', reportName: 'jacaco report', reportTitles: ''])
}
}
}
}