GitHub repository configuration doesn't persist credentials

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: High
    • 3.4.1, 4.0
    • Affects Version/s: 3.4
    • Component/s: 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?

        1. bamboo-plugin-test-1.0-SNAPSHOT.jar
          4 kB
          Noam Tenne
        2. example-output.jpg
          106 kB
          Noam Tenne

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

                Created:
                Updated:
                Resolved: