Uploaded image for project: 'SonarQube Scanner for Jenkins'
  1. SonarQube Scanner for Jenkins
  2. SONARJNKNS-319

Error when loading persisted scanner configuration on start-up

    Details

    • Type: Bug
    • Status: In Review
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.10, 2.11
    • Fix Version/s: None
    • Component/s: Configuration
    • Labels:
      None

      Description

      See this community post.

      The configuration class is persisted to load the same configuration again on start-up. Because the field `jenkinsSupplier` is persisted, the constructor that is public for testing purposes is selected. The `jenkinsSupplier` lambda is persisted using it's object reference, and can not be deserialised.  

        Attachments

          Activity

            People

            • Assignee:
              tom.vanbraband Tom Van Braband
              Reporter:
              tom.vanbraband Tom Van Braband
            • Votes:
              6 Vote for this issue
              Watchers:
              7 Start watching this issue

              Dates

              • Due:
                Created:
                Updated: