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

Add support of newInstance() invocation

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Many SCMs use Descriptor::newInstance() in jobs, but multiple-scms supports @DataboundConstructor only.
      Affected SCMs:

      • Git
      • Perforce
        ... //TBD

      I suppose that it causes many existing issues in JIRA.

        Attachments

          Issue Links

            Activity

            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Oleg Nenashev
            Path:
            src/main/java/org/jenkinsci/plugins/multiplescms/MultiSCM.java
            http://jenkins-ci.org/commit/multiple-scms-plugin/78c5c7d81c3a2c5410138137153838d46f28e0ce
            Log:
            Add support of newInstance() invocation

            Plugin invokes newInstance() instead of DataBoundConstructor.
            Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>

            [FIXED JENKINS-19818]
            [FIXED JENKINS-9287]

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Oleg Nenashev Path: src/main/java/org/jenkinsci/plugins/multiplescms/MultiSCM.java http://jenkins-ci.org/commit/multiple-scms-plugin/78c5c7d81c3a2c5410138137153838d46f28e0ce Log: Add support of newInstance() invocation Plugin invokes newInstance() instead of DataBoundConstructor. Signed-off-by: Oleg Nenashev <nenashev@synopsys.com> [FIXED JENKINS-19818] [FIXED JENKINS-9287]
            Hide
            slide_o_mix Alex Earl added a comment -

            Is this still an issue?

            Show
            slide_o_mix Alex Earl added a comment - Is this still an issue?
            Hide
            danielbeck Daniel Beck added a comment -

            Looks like the bot forgot to resolve this.

            Show
            danielbeck Daniel Beck added a comment - Looks like the bot forgot to resolve this.

              People

              Assignee:
              kbell Kevin Bell
              Reporter:
              oleg_nenashev Oleg Nenashev
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: