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

When including publishers from another job, the link to the report is not added

    XMLWordPrintable

Details

    Description

      We are using the template plugin to execute builds and publishers configured in a template job in all other jobs. When adding a post-build action "Use publishers from another project" the reports are generated in the correct job, but no link is added to the dashboard.

      A screen shot is added which demonstrates the issue.

      The "HTML report" link in the screen shot a report configured directly in the job, and no links are added to the reports generated by the template job.

      Attachments

        Activity

          I've been currently facing similar issue with the warnings plugin, which is not showing the trend graph when called from a template.
          The issue is that ProxyBuilder and ProxyPublisher are not implementing getProjectActions, which is used to contribute transient action to the project.

          I have just submitted a fix request to the github repo: https://github.com/jenkinsci/template-project-plugin/pull/5
          Please feel free to test it.

          williambernardet William Bernardet added a comment - I've been currently facing similar issue with the warnings plugin, which is not showing the trend graph when called from a template. The issue is that ProxyBuilder and ProxyPublisher are not implementing getProjectActions, which is used to contribute transient action to the project. I have just submitted a fix request to the github repo: https://github.com/jenkinsci/template-project-plugin/pull/5 Please feel free to test it.

          Code changed in jenkins
          User: William Bernardet
          Path:
          src/main/java/hudson/plugins/templateproject/ItemListenerImpl.java
          src/main/java/hudson/plugins/templateproject/ProxyBuilder.java
          src/main/java/hudson/plugins/templateproject/ProxyPublisher.java
          src/main/java/hudson/plugins/templateproject/UpdateTransientProperty.java
          http://jenkins-ci.org/commit/template-project-plugin/97547e3edcb877fd23b4ef017a33ac05d60e580b
          Log:
          Fix proposal for JENKINS-16800

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: William Bernardet Path: src/main/java/hudson/plugins/templateproject/ItemListenerImpl.java src/main/java/hudson/plugins/templateproject/ProxyBuilder.java src/main/java/hudson/plugins/templateproject/ProxyPublisher.java src/main/java/hudson/plugins/templateproject/UpdateTransientProperty.java http://jenkins-ci.org/commit/template-project-plugin/97547e3edcb877fd23b4ef017a33ac05d60e580b Log: Fix proposal for JENKINS-16800

          Code changed in jenkins
          User: Nicolas De loof
          Path:
          pom.xml
          src/main/java/hudson/plugins/templateproject/ItemListenerImpl.java
          src/main/java/hudson/plugins/templateproject/ProxyBuilder.java
          src/main/java/hudson/plugins/templateproject/ProxyPublisher.java
          src/main/java/hudson/plugins/templateproject/UpdateTransientProperty.java
          http://jenkins-ci.org/commit/template-project-plugin/b161898e4453eda7dcf611e50ccc0a8dba5687e1
          Log:
          Merge pull request #5 from williambernardet/master

          Fix proposal for JENKINS-16800

          Compare: https://github.com/jenkinsci/template-project-plugin/compare/87030edf5d24...b161898e4453

          scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Nicolas De loof Path: pom.xml src/main/java/hudson/plugins/templateproject/ItemListenerImpl.java src/main/java/hudson/plugins/templateproject/ProxyBuilder.java src/main/java/hudson/plugins/templateproject/ProxyPublisher.java src/main/java/hudson/plugins/templateproject/UpdateTransientProperty.java http://jenkins-ci.org/commit/template-project-plugin/b161898e4453eda7dcf611e50ccc0a8dba5687e1 Log: Merge pull request #5 from williambernardet/master Fix proposal for JENKINS-16800 Compare: https://github.com/jenkinsci/template-project-plugin/compare/87030edf5d24...b161898e4453
          brantone Brantone added a comment - Fixed with merge PR https://github.com/jenkinsci/template-project-plugin/pull/5

          People

            Unassigned Unassigned
            cogocogo Christer Edvartsen
            Votes:
            2 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: