Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-56508

Service account secret not visible when using folders plugin

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Major Major
    • Jenkins version: 2.155
      Google Play Android Publisher Plugin: 1.8
      Google OAuth Credentials plugin: 0.7
      Folders Plugin 6.5.1

      When I create secret of type "Google Service account from private key" under folder namespace (folders plugin), and then try to use this secret for Google Play Android Publisher Plugin it is not recognized.

       

      When I create job inside this folder, and try to choose Google Play Account from dropdown list of Upload Android APK to Google Play post action, there is nothing to choose from. When I add Google Service account from private key secret in global namespace (not inside folder) then account is visible and I can use plugin.

      The same situation happen when trying to use it from pipeline script. 

      androidApkUpload googleCredentialsId: 'mysecret', ...
      

       Plugin cannot find credentials when they are located inside folder.

            orrc Christopher Orr
            pangorgo Kamil Zegier
            Votes:
            1 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: