migrated to gitea
All checks were successful
CI / build (push) Successful in 48s

This commit is contained in:
2024-04-04 08:39:31 +08:00
parent c4ccec0fc3
commit 19162b5b97
18 changed files with 125 additions and 42 deletions

25
Jenkinsfile vendored
View File

@@ -6,13 +6,24 @@ pipeline {
stages {
stage("Build") {
steps {
sh "./gradlew clean assemble build"
junit testResults: "build/test-results/test/*.xml"
javadoc javadocDir: "build/docs/javadoc", keepAll: true
archiveArtifacts artifacts: 'build/libs/*.jar,benchmark/build/libs/*.jar,wson-cli/build/libs/wson-cli-envelope-*.jar,wson-cli/build/libs/wson-cli',
allowEmptyArchive: true,
fingerprint: true,
onlyIfSuccessful: true
sh "./gradlew build"
}
post {
always {
junit '**/build/test-results/test/*.xml'
}
success {
jacoco(
execPattern: '**/build/jacoco/*.exec',
classPattern: '**/build/classes/java/main',
sourcePattern: '**/src/main'
)
javadoc javadocDir: "build/docs/javadoc", keepAll: true
archiveArtifacts artifacts: '**/build/libs/*.jar,wson-cli/build/libs/wson-cli',
allowEmptyArchive: false,
fingerprint: true,
onlyIfSuccessful: true
}
}
}
stage("Publish") {