Skip to content

googleStorageUpload returns URL not found #187

Description

@shaulishaked

Jenkins and plugins versions report

Result
Jenkins: 2.333
OS: Linux - 5.4.129+

google-compute-engine:4.3.8
google-container-registry-auth:0.3
google-kubernetes-engine:0.8.6
google-login:1.6
google-metadata-plugin:0.3.1
google-oauth-plugin:1.0.6
google-storage-plugin:1.5.4.1

What Operating System are you using (both controller, and any agents involved in the problem)?

GKE on GCP

Reproduction steps

  • Run - googleStorageUpload bucket: gcpStorageUrl, credentialsId: gcpCreds, pattern: pattern, showInline: true
  • Click on the Google Cloud Storage Upload Report (gcsObjects) link in Jenkins
  • Click on the gcpStorageUrl link.
  • Get in GCP: URL not found. The link is https://console.cloud.google.com/storage/gcpStorageUrl

Expected Results

If you add to the modify the link from https://console.cloud.google.com/storage/gcpStorageUrl
and add browser after the storage- https://console.cloud.google.com/storage/browser/gcpStorageUrl you will get to the expected GCP page.

Actual Results

GCP link is transferred to: URL not found

Anything else?

This worked a few months ago. After upgrading to latest version, the issue started to occur.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions