On Fri, 25 Jul 2014 23:15:53 +0200, Karthik V S <[email protected]> wrote:
I have a list of publishers that I have to add to my Jenkins job thru Java
Code and then create the job.

How is that possible? Any inputs would be greatly appreciated.

Hi,

Create the job first, then add publishers. This is done routinely in tests. See https://github.com/jenkinsci/jenkins/blob/bfaab5118d079405b82b80301d90e19f39970366/test/src/test/java/hudson/tasks/test/AggregatedTestResultPublisherTest.java#L176-L177

--
oliver

--
You received this message because you are subscribed to the Google Groups "Jenkins 
Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to