TheBrokenRail
275ec8f2c6
Some checks failed
ScriptCraft/pipeline/head There was a failure building this commit
33 lines
911 B
Groovy
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'
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|