switched to envelope for cli tool

This commit is contained in:
2022-01-16 19:39:04 +08:00
parent 139d160274
commit 764a592ee0
4 changed files with 44 additions and 5 deletions

25
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,25 @@
import java.nio.file.Path
import java.nio.file.Files
pipeline {
agent any
stages {
stage("Build") {
steps {
sh "./gradlew clean 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/distributions/wson-cli-envelope-*.jar',
allowEmptyArchive: true,
fingerprint: true,
onlyIfSuccessful: true
}
}
stage("Publish") {
steps {
sh "./gradlew publish"
}
}
}
}