ci: add genaration of build.json matadate file

Useful for debugging missing deployments.

Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
Jakub Sokołowski 2024-02-19 12:40:22 +01:00
parent 10ffc29d9c
commit 37339d204f
No known key found for this signature in database
GPG Key ID: FE65CD384D5BF7B4
1 changed files with 8 additions and 2 deletions

10
Jenkinsfile vendored
View File

@ -1,3 +1,6 @@
#!/usr/bin/env groovy
library 'status-jenkins-lib@v1.8.8'
pipeline {
agent { label 'linux' }
@ -27,9 +30,12 @@ pipeline {
}
stage('Build') {
steps {
steps { script {
sh 'yarn build'
sh "echo ${env.PROD_SITE} > build/CNAME"
dir('build') {
sh "echo ${env.PROD_SITE} > CNAME"
jenkins.genBuildMetaJSON()
} }
}
}