TheBrokenRail
f68bb1d96d
All checks were successful
EnergonRelics/pipeline/head This commit looks good
Improve REI Plugin
37 lines
916 B
Groovy
37 lines
916 B
Groovy
pipeline {
|
|
agent {
|
|
docker {
|
|
image 'openjdk:11-jdk'
|
|
}
|
|
}
|
|
stages {
|
|
stage('Build') {
|
|
steps {
|
|
sh './gradlew build javadoc'
|
|
}
|
|
post {
|
|
success {
|
|
archiveArtifacts artifacts: 'build/libs/*', fingerprint: true
|
|
|
|
publishHTML target: [
|
|
allowMissing: false,
|
|
alwaysLinkToLastBuild: false,
|
|
keepAll: false,
|
|
reportDir: 'build/docs/javadoc',
|
|
reportFiles: 'index.html',
|
|
reportName: 'JavaDoc'
|
|
]
|
|
}
|
|
}
|
|
}
|
|
stage('Publish') {
|
|
when {
|
|
buildingTag()
|
|
}
|
|
steps {
|
|
sh './gradlew publish'
|
|
}
|
|
}
|
|
}
|
|
}
|