jenkins-infra / pipeline-library

Collection of custom steps and variables for our Jenkins instance(s)
295 stars 136 forks source link

Remove duplicated upload to unused blob storage in `publishReports` #855

Open lemeurherve opened 6 months ago

lemeurherve commented 6 months ago

Reproduction steps

  1. Observe https://github.com/jenkins-infra/pipeline-library/blob/0d4b15dfafaea5ffc418017fc995774411e458ee/vars/publishReports.groovy#L55-L59
  2. Notice the report is uploaded to both a blob storage and a file share (in the same prodjenkinsreports storage account).
  3. Notice the file share is the only one publicly exposed for consumption: https://github.com/jenkins-infra/kubernetes-management/blob/04f400e202bde38e443817e51da1bc809a1a0d22/config/reports.yaml#L8-L26

Expected Results

Report is uploaded only to the file share.

Actual Results

Report is uploaded to both the blob storage and the file share.

Anything else?

An helpdesk issue to delete the blob storage should be open after that.