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 267f2a3c44
All checks were successful
ScriptCraft/pipeline/head This commit looks good
Actually Publish
2020-04-29 15:05:42 -04:00

35 lines
982 B
Groovy

pipeline {
agent {
dockerfile {
args '-v /data/maven:/data/maven'
}
}
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'
]
}
}
}
}
}