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 a57c8d705c
All checks were successful
ScriptCraft/pipeline/head This commit looks good
Fix Jenkinsfile
2020-04-29 15:23:18 -04:00

33 lines
929 B
Groovy

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