Uploaded image for project: 'Bamboo Data Center'
  1. Bamboo Data Center
  2. BAM-10478

GitHub repository configuration doesn't persist credentials

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: High High
    • 3.4.1, 4.0
    • 3.4
    • Repository (Git)
    • None

      It seems that credentials provided for source checkout in the GitHub repository configuration aren't persisted.
      The plugin we develop depends on the Git plugin as we perform different SCM operations.
      When we try to fetch the repository credentials via:

      repository.toConfiguration().getString("repository.github.username", "")
      repository.toConfiguration().getString("repository.github.password", "")
      

      Empty strings are returned.
      Has the API been modified?

              mwent Marek Went (Inactive)
              e9b622512f95 Noam Tenne
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: