Added some groundwork for showcase files.

This commit is contained in:
2022-04-17 18:47:24 -05:00
parent cf220fd189
commit e5996b5cb8
14 changed files with 596 additions and 36 deletions

12
Jenkinsfile vendored
View File

@@ -28,13 +28,23 @@ pipeline {
archiveArtifacts artifacts: 'dist/audioshowkit.js', followSymlinks: false
}
}
stage("build showcase") {
steps {
dir('./showcase/') {
nodejs('NodeJS (17.4.0)') {
sh "npm i"
sh "npm run build"
}
}
}
}
stage("publish docs") {
steps {
nodejs('NodeJS (17.4.0)') {
sh "npm run docs"
}
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'docs', reportFiles: 'index.html', reportName: 'AudioShowKit JSDocs', reportTitles: ''])
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'dist', reportFiles: 'index.html', reportName: 'AudioShowKit Demo', reportTitles: ''])
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'showcase/dist', reportFiles: 'index.html', reportName: 'AudioShowKit Demo', reportTitles: ''])
}
}
}