Files
envelope/Jenkinsfile
2022-01-15 18:46:29 +08:00

23 lines
552 B
Groovy

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