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
835 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 01:13:08 +00:00
sh './gradlew build typedoc eslint typescriptDist'
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,
reportDir: 'build/typedoc',
reportFiles: 'index.html',
reportName: 'TypeDoc'
]
2020-04-25 13:33:17 +00:00
}
}
}
}
}