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

33 lines
921 B
Plaintext
Raw Normal View History

2020-04-25 13:33:17 +00:00
pipeline {
agent {
dockerfile true
}
stages {
stage('Setup') {
steps {
sh 'cd scripts; ./setup.sh'
}
}
stage('Build') {
steps {
2020-04-29 14:58:27 +00:00
sh './gradlew build typedoc eslint'
2020-04-25 13:33:17 +00:00
}
post {
success {
archiveArtifacts artifacts: 'build/libs/*', fingerprint: true
2020-04-29 14:58:27 +00:00
archiveArtifacts artifacts: 'build/distributions/*', 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
}
}
}
}
}