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

GitSCM default values not properly defined

    XMLWordPrintable

Details

    Description

      For use with Workflow's Snippet Generator, GitSCM needs to use @DataBoundSetter on optional fields and ensure that the default value is equal to what an unconfigured config.jelly would set. Otherwise the user is offered unnecessary overrides such as extensions: [].

      Attachments

        Issue Links

          Activity

            markewaite Mark Waite added a comment - - edited

            Nice. I was not aware of the DataBoundSetter addition in 1.535. That looks very promising to improve some especially long constructors in the git plugin.

            markewaite Mark Waite added a comment - - edited Nice. I was not aware of the DataBoundSetter addition in 1.535 . That looks very promising to improve some especially long constructors in the git plugin.

            People

              Unassigned Unassigned
              jglick Jesse Glick
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: