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

32 lines
838 B
Plaintext
Raw Normal View History

2020-04-25 13:33:17 +00:00
pipeline {
agent {
2020-04-29 19:23:18 +00:00
dockerfile true
2020-04-25 13:33:17 +00:00
}
stages {
stage('Setup') {
steps {
sh 'cd scripts; ./setup.sh'
}
}
stage('Build') {
steps {
2020-04-29 19:05:42 +00:00
sh './gradlew build typedoc eslint publish'
2020-04-25 13:33:17 +00:00
}
post {
success {
archiveArtifacts artifacts: 'build/libs/*', fingerprint: true
2020-04-26 23:09:15 +00:00
publishHTML target: [
allowMissing: false,
alwaysLinkToLastBuild: false,
keepAll: false,
2020-04-29 15:25:44 +00:00
reportDir: 'src/main/ts/lib/typedoc',
2020-04-26 23:09:15 +00:00
reportFiles: 'index.html',
reportName: 'TypeDoc'
]
2020-04-25 13:33:17 +00:00
}
}
}
}
}