Plex/Jenkinsfile

21 lines
616 B
Plaintext
Raw Normal View History

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