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

Scan fails on Could not fetch branches from source.

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • None

      Scan fails. see log below.
      I tried several Jenkins secrets. All with same App ID and Key. Some work and some fail as below.
      Printing the secrets from the script console, I noticed that thous that work has a value in their properties.password field, while those that fail does not.

      Thanks,

        Ziv

       

       

      From scan log:

      ERROR: [Mon Aug 21 08:16:46 IDT 2023] Could not fetch branches from ...

      FATAL: Failed to recompute children of ...

      org.kohsuke.github.HttpException:

      {"message":"Bad credentials","documentation_url":" [https://docs.github.com/rest] "}

      Caused: java.lang.IllegalArgumentException: Couldn't authenticate with GitHub app ID ...

            Unassigned Unassigned
            zharpaz Ziv
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: