TheBrokenRail
37f11a92f0
All checks were successful
ScriptCraft/pipeline/head This commit looks good
32 lines
840 B
Groovy
32 lines
840 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
|
|
|
|
publishHTML target: [
|
|
allowMissing: false,
|
|
alwaysLinkToLastBuild: false,
|
|
keepAll: false,
|
|
reportDir: 'src/main/ts/build/typedoc',
|
|
reportFiles: 'index.html',
|
|
reportName: 'TypeDoc'
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|