diff --git a/Jenkinsfile b/Jenkinsfile index 7add7e9..0723f21 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -12,7 +12,10 @@ pipeline { post { always { archiveArtifacts artifacts: 'build/libs/*.jar', fingerprint: true - javadoc 'build/docs/javadoc' + javadoc { + javadocDir 'build/docs/javadoc' + keepAll false + } discordSend description: "Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, title: JOB_NAME, webhookURL: env.PLEX_WEBHOOK_URL deleteWs() }