mirror of
https://github.com/plexusorg/Plex.git
synced 2024-12-22 17:17:37 +00:00
Lets try this
This commit is contained in:
parent
ff4f0a30c7
commit
0430a64ccf
10
Jenkinsfile
vendored
10
Jenkinsfile
vendored
@ -1,19 +1,21 @@
|
|||||||
pipeline {
|
pipeline {
|
||||||
agent any
|
agent any
|
||||||
stages {
|
stages {
|
||||||
stage('build') {
|
stage("build") {
|
||||||
steps {
|
steps {
|
||||||
withGradle {
|
withGradle {
|
||||||
sh './gradlew build javadoc publish --no-daemon'
|
sh "./gradlew build javadoc publish --no-daemon"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
post {
|
post {
|
||||||
always {
|
always {
|
||||||
archiveArtifacts artifacts: 'build/libs/*.jar', fingerprint: true
|
archiveArtifacts artifacts: "build/libs/*.jar", fingerprint: true
|
||||||
javadoc javadocDir 'build/docs/javadoc'
|
javadoc {
|
||||||
|
javadocDir "build/docs/javadoc",
|
||||||
javadoc keepAll false
|
javadoc keepAll false
|
||||||
|
}
|
||||||
discordSend description: "Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, title: JOB_NAME, webhookURL: env.PLEX_WEBHOOK_URL
|
discordSend description: "Jenkins", link: env.BUILD_URL, result: currentBuild.currentResult, title: JOB_NAME, webhookURL: env.PLEX_WEBHOOK_URL
|
||||||
deleteWs()
|
deleteWs()
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user