added publications

This commit is contained in:
2022-06-08 22:24:07 +08:00
parent b59dcfd93c
commit 6ba3fd6768
4 changed files with 53 additions and 17 deletions

23
Jenkinsfile vendored Normal file
View File

@@ -0,0 +1,23 @@
import java.nio.file.Path
import java.nio.file.Files
pipeline {
agent any
stages {
stage("Build") {
steps {
sh "./gradlew clean assemble"
archiveArtifacts artifacts: 'build/libs/*.war',
allowEmptyArchive: true,
fingerprint: true,
onlyIfSuccessful: true
}
}
stage("Publish") {
steps {
sh "./gradlew publish"
}
}
}
}