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 7ffcc55da5
Some checks failed
ScriptCraft/pipeline/head There was a failure building this commit
Generate DTS
2020-04-28 21:13:08 -04:00

32 lines
835 B
Groovy

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