Compare commits

...

5 Commits

Author SHA1 Message Date
d532b353c4 Renamed docs page in 'Jenkinsfile'
All checks were successful
ydeng/audioshowkit/pipeline/head This commit looks good
2023-05-03 08:43:24 -05:00
677ca4ffdf Merge branch 'develop'
All checks were successful
ydeng/audioshowkit/pipeline/head This commit looks good
2023-05-03 08:28:14 -05:00
676995b22c Merge branch 'develop'
All checks were successful
ydeng/audioshowkit/pipeline/head This commit looks good
2023-04-08 12:35:47 -05:00
cb844082e6 Merge branch 'develop'.
Some checks failed
RealYHD/audioshowkit/pipeline/head There was a failure building this commit
ydeng/audioshowkit/pipeline/head There was a failure building this commit
2022-11-30 03:56:06 +00:00
c04e8df12a Added sourcing of .bashrc to Jenkinsfile. 2022-11-28 07:29:43 +00:00

12
Jenkinsfile vendored
View File

@ -10,7 +10,10 @@ pipeline {
} }
stage("test") { stage("test") {
steps { steps {
sh 'npm run test:junit' sh '''
source ~/.bashrc
npm run test:junit
'''
junit 'junit/*.xml' junit 'junit/*.xml'
} }
} }
@ -22,8 +25,11 @@ pipeline {
} }
stage("generate docs") { stage("generate docs") {
steps { steps {
sh 'npm run docs' sh '''
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'AudioShowKit Docs', reportTitles: '']) source ~/.bashrc
npm run docs
'''
publishHTML([allowMissing: false, alwaysLinkToLastBuild: true, keepAll: true, reportDir: './docs', reportFiles: 'index.html', reportName: 'Documentation', reportTitles: ''])
} }
} }
} }