We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 321ff92 commit a967b7aCopy full SHA for a967b7a
ci/Jenkinsfile.combined
@@ -35,8 +35,6 @@ pipeline {
35
stage('Prep') {
36
steps { script {
37
println("Current JOB: ${env.JOB_NAME}")
38
- /* just for a shorter access */
39
- btype = utils.getBuildType()
40
} }
41
}
42
stage('Build') {
@@ -83,11 +81,9 @@ pipeline {
83
81
stage('Publish') {
84
82
when { expression { params.PUBLISH } }
85
86
- switch (btype) {
87
- case 'nightly':
88
- /* Create JSON file with newest build URLs */
+ if (utils.getBuildType() == 'release') {
+ case 'nightly': /* Create JSON file with newest build URLs */
89
s3.updateBucketJSON(urls, 'latest.json');
90
- build(job: 'website/status.im', wait: false);
91
break;
92
case 'release':
93
github.publishReleaseFiles(repo: 'status-mobile');
0 commit comments