Removed parallel pipelines.

This commit is contained in:
Harrison Deng 2022-04-17 22:25:54 -05:00
parent b093c5e0bd
commit 2c8f3a49c4

26
Jenkinsfile vendored
View File

@ -29,13 +29,21 @@ pipeline {
} }
} }
} }
stage("archive product") { stage("generate docs") {
steps { steps {
archiveArtifacts artifacts: 'audioshowkit/dist/audioshowkit.js', followSymlinks: false dir('audioshowkit') {
nodejs('NodeJS (17.4.0)') {
sh "npm run docs"
}
}
} }
} }
stage("publish") { stage("publish") {
parallel { steps {
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'audioshowkit/docs', reportFiles: 'index.html', reportName: 'AudioShowKit JSDocs', reportTitles: ''])
archiveArtifacts artifacts: 'audioshowkit/dist/audioshowkit.js', followSymlinks: false
}
}
stage("setup showcase") { stage("setup showcase") {
stages { stages {
stage("install showcase") { stage("install showcase") {
@ -63,17 +71,5 @@ pipeline {
} }
} }
} }
stage("generate docs") {
steps {
dir('audioshowkit') {
nodejs('NodeJS (17.4.0)') {
sh "npm run docs"
}
}
publishHTML([allowMissing: false, alwaysLinkToLastBuild: false, keepAll: false, reportDir: 'audioshowkit/docs', reportFiles: 'index.html', reportName: 'AudioShowKit JSDocs', reportTitles: ''])
}
}
}
}
} }
} }