mirror of https://github.com/waku-org/waku.org.git
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:
parent
6bd65c03de
commit
b0ff826302
|
@ -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') {
|
||||||
|
|
Loading…
Reference in New Issue