Scan fails on Could not fetch branches from source.

This issue is archived. You can view it, but you can't modify it. Learn more

XMLWordPrintable

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Minor
    • Environment:

      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 ...

            Assignee:
            Unassigned
            Reporter:
            Ziv
            Archiver:
            Jenkins Service Account

              Created:
              Updated:
              Archived: