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

ReleaseCause should extend UserIdCause

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Component/s: m2release-plugin
    • Labels:
      None
    • Environment:
      n/a
    • Similar Issues:

      Description

      hudson.model.Cause.UserCause is deprecated and class ReleaseCause should extend hudson.model.Cause.UserIdCause instead.
      Also, it should not override methods like getUserName() as it will cause issues for other plugins like build-user-vars (see JENKINS-20787)!

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ahammar Anders Hammar
                Reporter:
                ahammar Anders Hammar
              • Votes:
                0 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: