add API for searching relations based on person and contact data
This commit is contained in:
parent
d1d0dda373
commit
dfda94b9fd
52
Jenkinsfile
vendored
Normal file
52
Jenkinsfile
vendored
Normal file
@ -0,0 +1,52 @@
|
||||
pipeline {
|
||||
agent any
|
||||
|
||||
triggers {
|
||||
pollSCM('H/1 * * * *')
|
||||
}
|
||||
|
||||
stages {
|
||||
stage('Checkout') {
|
||||
steps {
|
||||
checkout scm
|
||||
}
|
||||
}
|
||||
|
||||
stage ('Compile & Test') {
|
||||
agent {
|
||||
docker {
|
||||
image 'openjdk:21'
|
||||
args '-v "$PWD":/app'
|
||||
reuseNode true
|
||||
}
|
||||
}
|
||||
steps {
|
||||
sh './gradlew clean check -x pitest -x dependencyCheckAnalyze'
|
||||
}
|
||||
}
|
||||
|
||||
stage('Archive Test Results') {
|
||||
steps {
|
||||
// archive test results
|
||||
junit 'build/test-results/test/*.xml'
|
||||
|
||||
// archive the JaCoCo coverage report in XML and HTML format
|
||||
publishHTML(target: [
|
||||
reportDir: 'build/reports/jacoco/test/html',
|
||||
reportFiles: 'index.html',
|
||||
reportName: 'JaCoCo Code Coverage Report'
|
||||
])
|
||||
jacoco(execPattern: '**/jacoco.exec',
|
||||
classPattern: 'build/classes/java/main',
|
||||
sourcePattern: 'src/main/java',
|
||||
exclusionPattern: '')
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
post {
|
||||
always {
|
||||
cleanWs()
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user