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

Transient actions aren't displayed in Maven Jobs

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • maven-plugin
    • None

      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 danielbeck :

      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

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

              Created:
              Updated:
              Resolved: