ci: fix Jenkinsfile

This commit is contained in:
Anton Iakimov 2024-10-29 12:13:38 +01:00
parent 04130850ee
commit c339905aa4
No known key found for this signature in database

6
ci/Jenkinsfile vendored
View File

@ -43,8 +43,8 @@ pipeline {
stage('experimental/rln-identity') { steps { script { buildExample() } } } stage('experimental/rln-identity') { steps { script { buildExample() } } }
stage('dogfooding') { steps { script { buildExample() } } } stage('dogfooding') { steps { script { buildExample() } } }
stage('message-monitor') { steps { script { buildExample() } } } stage('message-monitor') { steps { script { buildExample() } } }
stage('flush-notes') { steps { script { buildExample(outDir='out') } } } stage('flush-notes') { steps { script { buildExample(example='flush-notes', outDir='out') } } }
stage('buddybook') { steps { script { buildExample(outDir='dist') } } } stage('buddybook') { steps { script { buildExample(example='buddybook', outDir='dist') } } }
} }
} }
@ -69,7 +69,7 @@ pipeline {
} }
} }
def buildExample(example=STAGE_NAME, outDir='build') { def buildExample(example=STAGE_NAME, outDir='build) {
def dest = "${WORKSPACE}/build/docs/${example}" def dest = "${WORKSPACE}/build/docs/${example}"
dir("examples/${example}") { dir("examples/${example}") {
sh 'npm install --silent' sh 'npm install --silent'