Merge pull request #184 from waku-org/weboko/improve-ci

fix: copy json and image files in CI for examples
This commit is contained in:
Sasha 2023-01-14 03:03:11 +01:00 committed by GitHub
commit 718f545ebc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 18 additions and 0 deletions

18
ci/Jenkinsfile vendored
View File

@ -100,4 +100,22 @@ def copyExample(example=STAGE_NAME) {
} catch (e) {
echo "No HTML files found."
}
try {
sh "cp ${source}/*.json ${dest}/"
} catch (e) {
echo "No JSON files found."
}
try {
sh "cp ${source}/*.png ${dest}/"
} catch (e) {
echo "No PNG files found."
}
try {
sh "cp ${source}/*.ico ${dest}/"
} catch (e) {
echo "No ICO files found."
}
}