Contributing an arbitrary action to a job

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

Contributing an arbitrary action to a job

Romain Seguy
Hi,

I need to contribute some arbitrary actions to a job (so that they appear in the sidepanel of jobs). If I'm right, I can do that only by using a BuildWrapper/JobProperty/Trigger/etc. to carry it, or by creating my own job type, which I clearly don't want. My choice would be to use a BuildWrapper which would be activated by default for each jobs.

Anyone having already tried/done so to confirm (or not) I can't do it?

Thanks,
Romain
Reply | Threaded
Open this post in threaded view
|

Re: Contributing an arbitrary action to a job

Dean Yu
Re: Contributing an arbitrary action to a job I think you need this:

https://hudson.dev.java.net/nonav/javadoc/hudson/model/TransientProjectActionFactory.html

  -- Dean


On 2/18/10 2:05 PM, "romain.seguy@..." <romain.seguy@...> wrote:

Hi,

I need to contribute some arbitrary actions to a job (so that they appear in the sidepanel of jobs). If I'm right, I can do that only by using a BuildWrapper/JobProperty/Trigger/etc. to carry it, or by creating my own job type, which I clearly don't want. My choice would be to use a BuildWrapper which would be activated by default for each jobs.

Anyone having already tried/done so to confirm (or not) I can't do it?

Thanks,
Romain