From 4e07f83fba2f30c2d67042afe760b16e07b556da Mon Sep 17 00:00:00 2001 From: Victor Martinez Date: Tue, 20 Oct 2020 10:16:55 +0100 Subject: [PATCH] Update .ci/packaging.groovy --- .ci/packaging.groovy | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.ci/packaging.groovy b/.ci/packaging.groovy index 420ba6b08b40..1aeebf2df385 100644 --- a/.ci/packaging.groovy +++ b/.ci/packaging.groovy @@ -331,10 +331,8 @@ def publishPackages(baseDir){ // In order to run the beats-tester let's copy those files to another more predictable // location where those files won't be uploaded while running the beats-tester - if (isBranch()) { - bucketUri = "gs://${JOB_GCS_BUCKET}/commit/${env.GIT_BASE_COMMIT}" - uploadPackages("${bucketUri}/${beatsFolderName}", baseDir, beatsFolderName) - } + bucketUri = "${bucketUri}/commit/${env.GIT_BASE_COMMIT}" + uploadPackages("${bucketUri}/${beatsFolderName}", baseDir, beatsFolderName) } def uploadPackages(bucketUri, baseDir, beatsFolderName){