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.
ScriptCraft/Jenkinsfile
TheBrokenRail 30661d82b3
All checks were successful
ScriptCraft/pipeline/head This commit looks good
Fix TypeDoc
2020-04-29 11:25:44 -04:00

33 lines
921 B
Groovy

pipeline {
agent {
dockerfile true
}
stages {
stage('Setup') {
steps {
sh 'cd scripts; ./setup.sh'
}
}
stage('Build') {
steps {
sh './gradlew build typedoc eslint'
}
post {
success {
archiveArtifacts artifacts: 'build/libs/*', fingerprint: true
archiveArtifacts artifacts: 'build/distributions/*', fingerprint: true
publishHTML target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: false,
reportDir: 'src/main/ts/lib/typedoc',
reportFiles: 'index.html',
reportName: 'TypeDoc'
]
}
}
}
}
}