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 275ec8f2c6
Some checks failed
ScriptCraft/pipeline/head There was a failure building this commit
Generate DTS Better
2020-04-29 10:58:27 -04:00

33 lines
911 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: 'build/typedoc',
reportFiles: 'index.html',
reportName: 'TypeDoc'
]
}
}
}
}
}