|
Re: Dependency between Publishers?: msg#00106java.hudson.user
Eric Crahen wrote: I'd like to generate some reports on artifacts that the artifact archive has I believe Hudson invokes listeners in the order they are placed in the BuildStep.PUBLISHERS (if not, we should fix that.) So the poorman's approach to this problem has been to place them in the right place in the list. It's certainly conceivable to come up with more elaborate scheme, like perhaps by declaring dependencies, but I suspect it won't really buy us that much. Also, if all you're trying to do is to record the reports as a part of build, and don't really care if it's a part of the "artifacts" or not, then it's better to store reports on your own directory. For example, junit report publisher does just that. The added benefit is that the user won't have to configure two places to get it right. If you really need to place things under the artifacts directory, your publisher can just copy whatever you produced into the artifacts directory on your own. I think this is pretty easy and not much code duplication involved. If you can explain a bit of context, I can probably give you better suggestions. -- Kohsuke Kawaguchi Sun Microsystems kohsuke.kawaguchi@xxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: How to enable a publisher by default?, Kohsuke Kawaguchi |
|---|---|
| Next by Date: | Re: How to enable a publisher by default?, Eric Crahen |
| Previous by Thread: | Dependency between Publishers?, Eric Crahen |
| Next by Thread: | Re: Dependency between Publishers?, Eric Crahen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |