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

Display additional CauseActions

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      Custom cause action returned fromĀ 
      SCMSource#retrieveActions(jenkins.scm.api.SCMHead, jenkins.scm.api.SCMHeadEvent, hudson.model.TaskListener)
      is not displayed on build page.
      Tried with freestyle-multibranch and workflow-multibranch, both contains only "branch indexing" cause, while usually build may have multiple causes.
      jenkins.branch.MultiBranchProject#scheduleBuild tries differentiate actions. So probably it should extract and unify revision actions into single CauseAction() if it passed in actions.
      Anyway CauseAction is a causeBag and it just additional UI helpers.

        Attachments

          Issue Links

            Activity

            integer Kanstantsin Shautsou created issue -
            integer Kanstantsin Shautsou made changes -
            Field Original Value New Value
            Remote Link This issue links to "branch-api-plugin/pull/116 (Web Link)" [ 18108 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/jenkins/branch/MultiBranchProject.java
            src/test/java/integration/BrandingTest.java
            http://jenkins-ci.org/commit/branch-api-plugin/0fa29726b84dc1f1cf1c069240a5803e911627f0
            Log:
            [FIXED JENKINS-48090] Merge CauseActions when scheduling

            • Should have been specified that SCMSource.fetchActions should not return CauseAction, but we missed that so let's just handle the merge as it is not a major crime
            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/jenkins/branch/MultiBranchProject.java src/test/java/integration/BrandingTest.java http://jenkins-ci.org/commit/branch-api-plugin/0fa29726b84dc1f1cf1c069240a5803e911627f0 Log: [FIXED JENKINS-48090] Merge CauseActions when scheduling Should have been specified that SCMSource.fetchActions should not return CauseAction, but we missed that so let's just handle the merge as it is not a major crime
            scm_issue_link SCM/JIRA link daemon made changes -
            Status Open [ 1 ] Resolved [ 5 ]
            Resolution Fixed [ 1 ]
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/jenkins/branch/MultiBranchProject.java
            http://jenkins-ci.org/commit/branch-api-plugin/68baf702f9e5f88a2cf32179feb1b759aa2474a3
            Log:
            JENKINS-48090 Naming

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/jenkins/branch/MultiBranchProject.java http://jenkins-ci.org/commit/branch-api-plugin/68baf702f9e5f88a2cf32179feb1b759aa2474a3 Log: JENKINS-48090 Naming
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Stephen Connolly
            Path:
            src/main/java/jenkins/branch/MultiBranchProject.java
            src/test/java/integration/BrandingTest.java
            http://jenkins-ci.org/commit/branch-api-plugin/0454746a1f7d5c3d571c0ad8c259731c94688b6b
            Log:
            Merge pull request #118 from stephenc/jenkins-48090

            [FIXED JENKINS-48090] Merge CauseActions when scheduling

            Compare: https://github.com/jenkinsci/branch-api-plugin/compare/2feeeacad02c...0454746a1f7d

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Stephen Connolly Path: src/main/java/jenkins/branch/MultiBranchProject.java src/test/java/integration/BrandingTest.java http://jenkins-ci.org/commit/branch-api-plugin/0454746a1f7d5c3d571c0ad8c259731c94688b6b Log: Merge pull request #118 from stephenc/jenkins-48090 [FIXED JENKINS-48090] Merge CauseActions when scheduling Compare: https://github.com/jenkinsci/branch-api-plugin/compare/2feeeacad02c...0454746a1f7d
            integer Kanstantsin Shautsou made changes -
            Status Resolved [ 5 ] Closed [ 6 ]

              People

              • Assignee:
                stephenconnolly Stephen Connolly
                Reporter:
                integer Kanstantsin Shautsou
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: