ci: fix Pulish stage by using getBuildType()
Signed-off-by: Jakub Sokołowski <jakub@status.im>
This commit is contained in:
parent
74149c1ff0
commit
e9b973196b
|
@ -81,7 +81,7 @@ pipeline {
|
||||||
stage('Publish') {
|
stage('Publish') {
|
||||||
when { expression { params.PUBLISH } }
|
when { expression { params.PUBLISH } }
|
||||||
steps { script {
|
steps { script {
|
||||||
switch (btype) {
|
switch (utils.getBuildType()) {
|
||||||
case 'nightly': /* Create JSON file with newest build URLs */
|
case 'nightly': /* Create JSON file with newest build URLs */
|
||||||
s3.updateBucketJSON(urls, 'latest.json');
|
s3.updateBucketJSON(urls, 'latest.json');
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue