ci: add genaration of build.json matadate file

Useful for debugging missing deployments. Result:
```
 > curl -sL dev.waku.org/build.json

```

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-02-19 14:51:49 +01:00 committed by Jinho Jang
parent 6bd65c03de
commit b0ff826302
1 changed files with 9 additions and 3 deletions

12
Jenkinsfile vendored
View File

@ -1,3 +1,6 @@
#!/usr/bin/env groovy
library 'status-jenkins-lib@v1.8.8'
pipeline { pipeline {
agent { label 'linux' } agent { label 'linux' }
@ -27,7 +30,7 @@ pipeline {
} }
stage('Build') { stage('Build') {
steps { steps { script {
/* Issues from waku-org/bounties are fetched. */ /* Issues from waku-org/bounties are fetched. */
withCredentials([ withCredentials([
string( string(
@ -37,8 +40,11 @@ pipeline {
]) { ]) {
sh 'yarn build' sh 'yarn build'
} }
sh "echo ${env.PROD_SITE} > build/CNAME" dir('build') {
} sh "echo ${env.PROD_SITE} > CNAME"
jenkins.genBuildMetaJSON()
}
} }
} }
stage('Publish Prod') { stage('Publish Prod') {