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

UserIdCause should be used, not UserCause

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      hudson.model.Cause.UserCause is deprecated. hudson.model.Cause.UserIdCause should be used instead.

      See JENKINS-20787 and JENKINS-20791

        Attachments

          Issue Links

            Activity

            Hide
            mustafau Mustafa Ulu added a comment -
            Show
            mustafau Mustafa Ulu added a comment - Release button still triggers UserCause not UserIdCause. See https://github.com/jenkinsci/release-plugin/blob/master/src/main/java/hudson/plugins/release/ReleaseWrapper.java#L695
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Agreed. I've integrated only the fix from the pending PR and have not searched for other usages.
            My bad, to be fixed

            Show
            oleg_nenashev Oleg Nenashev added a comment - Agreed. I've integrated only the fix from the pending PR and have not searched for other usages. My bad, to be fixed
            Hide
            mustafau Mustafa Ulu added a comment -

            I have submitted a PR to fix this.

            https://github.com/jenkinsci/release-plugin/pull/20

            Show
            mustafau Mustafa Ulu added a comment - I have submitted a PR to fix this. https://github.com/jenkinsci/release-plugin/pull/20
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Mustafa Ulu
            Path:
            src/main/java/hudson/plugins/release/ReleaseWrapper.java
            http://jenkins-ci.org/commit/release-plugin/d91ea96a096a3459179e08edc959eb7161fa7db4
            Log:
            JENKINS-20797 - Trigger builds with Cause.UserIdCause (#20)

            JENKINS-20797 - Trigger with Cause.UserIdCause

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Mustafa Ulu Path: src/main/java/hudson/plugins/release/ReleaseWrapper.java http://jenkins-ci.org/commit/release-plugin/d91ea96a096a3459179e08edc959eb7161fa7db4 Log: JENKINS-20797 - Trigger builds with Cause.UserIdCause (#20) JENKINS-20797 - Trigger with Cause.UserIdCause
            Hide
            oleg_nenashev Oleg Nenashev added a comment -

            Additional patch has been released in 2.6.1

            Show
            oleg_nenashev Oleg Nenashev added a comment - Additional patch has been released in 2.6.1

              People

              • Assignee:
                oleg_nenashev Oleg Nenashev
                Reporter:
                lshatzer Larry Shatzer, Jr.
              • Votes:
                1 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: