Compare commits
5 Commits
97a01656a1
...
d532b353c4
Author | SHA1 | Date | |
---|---|---|---|
d532b353c4 | |||
677ca4ffdf | |||
676995b22c | |||
cb844082e6 | |||
c04e8df12a |
12
Jenkinsfile
vendored
12
Jenkinsfile
vendored
@ -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: ''])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user