Plex/Jenkinsfile
2022-04-07 00:25:03 -05:00

23 lines
653 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 {
javadocDir "build/docs/javadoc",
javadoc keepAll false
}
discordSend description: "Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, title: JOB_NAME, webhookURL: env.PLEX_WEBHOOK_URL
deleteWs()
}
}
}