Plex/Jenkinsfile

18 lines
523 B
Plaintext
Raw Normal View History

2022-04-07 04:14:44 +00:00
pipeline {
agent any
stages {
stage('build') {
steps {
sh './gradlew build javadoc publish --no-daemon'
}
}
}
post {
always {
archiveArtifacts artifacts: 'build/libs/*.jar', fingerprint: true
2022-04-07 05:01:06 +00:00
javadocDir 'build/docs/javadoc'
discordSend description: "Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, title: JOB_NAME, webhookURL: env.PLEX_WEBHOOK_URL
2022-04-07 04:14:44 +00:00
deleteWs()
}
}
}