This repository has been archived on 2023-11-26. You can view files and clone it, but cannot push or open issues or pull requests.
EnergonRelics/Jenkinsfile
TheBrokenRail 808b61b9e9
All checks were successful
EnergonRelics/pipeline/head This commit looks good
Update JDK
2020-08-04 13:25:49 -04:00

29 lines
751 B
Groovy

pipeline {
agent {
docker {
image 'openjdk:11-jdk'
}
}
stages {
stage('Build') {
steps {
sh './gradlew build javadoc publish'
}
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'
]
}
}
}
}
}