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

Transient actions aren't displayed in Maven Jobs

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Component/s: maven-plugin
    • Labels:
      None
    • Similar Issues:

      Description

      https://groups.google.com/forum/#!topic/jenkinsci-dev/UtZzYLPQ5JM

      I'm using a TransientActionFactory to create a ProminentProjectAction which exposes a jobMain.jelly that should be rendered in the Project page, both for Freestyle Jobs and Maven Jobs.
      It's working fine for Freestyle Jobs but not for Maven jobs.

      Solution from Daniel Beck :

      http://javadoc.jenkins-ci.org/hudson/model/Actionable.html#getActions%28%29 doesn't returns transient actions. It is deprecated and must be replaced by http://javadoc.jenkins-ci.org/hudson/model/Actionable.html#getAllActions%28%29

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                aheritier Arnaud Héritier
                Reporter:
                aheritier Arnaud Héritier
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: