Help needed in Gearman/jenkins-job-builder implementation

45 views
Skip to first unread message

vivek....@gmail.com

unread,
Jul 30, 2016, 7:01:16 AM7/30/16
to Jenkins Users
I am using gearman (server,plugin,client) & jenkins job builder to create jobs . I have two jenkins master instances & major goal is to keep both of them in sync & share the load . I have few queries -

1. Alternative to jenkins job builder , since it's tough for users to write yaml for every job they create . Any possiblity that we can use the jenkins UI to create the jobs which ultimately gets synced with the other jenkins instance .  

2. When i send build request through gearman client to gearman server, only in this case it will use gearman workers to execute the build on both masters . If i use jenkins UI of one instance to build a job, it remains in queue & not shared with the other jenkins instance since i guess gearman server doesn't know about the request . I don't want to give two dashboard to the users .

3. Is there any way we can get the build logs ( Console output of the build that i ran )
on the client side i.e from where we are using the gearman client ?

I understand the few things are little obvious but still i need the best way to deal with gearman . I repeat  I have two jenkins master instances & major goal is to keep both of them in sync & share the load . 

If i am doing something wrong & there is a much better way to do this as well, please do suggest me .

Thanks in advance for your help !

Baptiste Mathus

unread,
Jul 30, 2016, 7:37:24 AM7/30/16
to jenkins...@googlegroups.com


Le 30 juil. 2016 1:01 PM, <vivek....@gmail.com> a écrit :
>
> I am using gearman (server,plugin,client) & jenkins job builder to create jobs . I have two jenkins master instances & major goal is to keep both of them in sync & share the load .

That seems surprising. Agents are for spreading load. Or do you have agents on each Jenkins master?

I'd have advised Job DSL plugin, but it's not that far from JJB conceptually, so…

-- Baptiste

Reply all
Reply to author
Forward
0 new messages