mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 09:07:37 +00:00
20 lines
571 B
Groovy
20 lines
571 B
Groovy
pipeline {
|
|
agent any
|
|
stages {
|
|
stage('build') {
|
|
steps {
|
|
withGradle {
|
|
sh './gradlew build javadoc publish --no-daemon'
|
|
}
|
|
}
|
|
}
|
|
}
|
|
post {
|
|
always {
|
|
archiveArtifacts artifacts: 'build/libs/*.jar', fingerprint: true
|
|
javadoc 'build/docs/javadoc'
|
|
discordSend description: "Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, title: JOB_NAME, webhookURL: env.PLEX_WEBHOOK_URL
|
|
deleteWs()
|
|
}
|
|
}
|
|
} |