pipeline {
agent {
dockerfile true
}
stages {
stage('Setup') {
steps {
sh 'cd scripts; ./setup.sh'
stage('Build') {
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'
]