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.
SorceryCraft/Jenkinsfile
TheBrokenRail 48fef73096
Some checks failed
SorceryCraft/pipeline/head There was a failure building this commit
20w18a
2020-05-02 14:42:16 -04:00

29 lines
745 B
Groovy

pipeline {
agent {
docker {
image 'openjdk:8-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/javadoc',
reportFiles: 'index.html',
reportName: 'JavaDoc'
]
}
}
}
}
}