forked from STAMP-project/dhell
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathJenkinsfile
More file actions
19 lines (18 loc) · 795 Bytes
/
Copy pathJenkinsfile
File metadata and controls
19 lines (18 loc) · 795 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
node{
stage('Checkout'){
checkout scm
}
stage ('Build') {
// Get the Maven tool and Java.
// ** NOTE: This 'MVN3' Maven tool
// ** and 'JDK8' Java must be configured
// ** in the global configuration.
withEnv(["JAVA_HOME=${ tool 'JDK8' }", "PATH+MAVEN=${tool 'MVN3'}/bin:${env.JAVA_HOME}/bin"]) {
sh "mvn -f pom.xml.pitest_descartes clean install org.pitest:pitest-maven:mutationCoverage -DmutationEngine=descartes"
}
}
stage ('Results'){
// ** NOTE: "HTML Publisher Plugin" must be installed
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'target/pit-reports', reportFiles: '**/index.html', reportName: 'PIT Report', reportTitles: ''])
}
}