Skip to content

Commit

Permalink
Update .ci/packaging.groovy
Browse files Browse the repository at this point in the history
  • Loading branch information
v1v authored Oct 20, 2020
1 parent 5190cb3 commit 4e07f83
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .ci/packaging.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -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){
Expand Down

0 comments on commit 4e07f83

Please sign in to comment.