jenkinsci / coordinator-plugin

Make deployment done by a single click.
https://plugins.jenkins.io/coordinator/
Other
16 stars 10 forks source link

any restrictions on which jobs can be run through coordinator ? #18

Closed Gabbyr closed 8 years ago

Gabbyr commented 8 years ago

i am having an issue with jobs that just won't run via coordinator but i couldn't find the common denominator between them all. is there any limitation regarding the jobs which i can/can't run in s or p mode ?

ace-han commented 8 years ago

@Gabbyr The answer is No.

The design for this plugin is to take control over other jobs.

If you find any restriction then I think it's coordinator job within a coordinator job. And I won't support that cuz I don't have any idea about how the ui should be displayed in this situation, it's quite nasty.

For your case

  1. Look through the jenkins log every time the failing coordinator job triggered, see if any exception throws
  2. Zip the relevant jobs folder under your jenkins folder, I will run a quick check for you. like ~/win7e/workspace/github/jee/coordinator-plugin/work/jobs image
Gabbyr commented 8 years ago

Thanks,I will follow your guidance here. my problem is that the coordinator job just hangs in there and not running the requested job which includes another job indeed, but not a coordinator one. It just runs another job with some parameters. Is that a problem as well ? On 18 Jan 2016 04:05, "Ace Han" notifications@github.com wrote:

@Gabbyr https://github.com/Gabbyr The answer is No.

The design for this plugin is to take control over other jobs.

If you find any restriction then I think it's coordinator job within a coordinator job. And I won't support that cuz I don't have any idea about how the ui should be displayed in this situation, it's quite nasty.

For your case

  1. Look through the jenkins log every time the failing coordinator job triggered, see if any exception throws
  2. Zip the relevant jobs folder under your jenkins folder, I will run a quick check for you. like ~/win7e/workspace/github/jee/coordinator-plugin/work/jobs [image: image] https://cloud.githubusercontent.com/assets/1177332/12381726/d4896ce8-bdca-11e5-8e02-669f62f3c925.png

— Reply to this email directly or view it on GitHub https://github.com/jenkinsci/coordinator-plugin/issues/18#issuecomment-172407658 .

ace-han commented 8 years ago

Plz make sure the you've got enough executors as well.

coordinator would take up one executor, like below

image

Gabbyr commented 8 years ago

Yes,I do have,since when tried running other jobs,it worked. i am guessing it has to do with a job inside another job,but I am not sure yet. On 18 Jan 2016 07:42, "Ace Han" notifications@github.com wrote:

Plz make sure the you've got enough executor as well.

coordinator would take up one executor, like below

[image: image] https://cloud.githubusercontent.com/assets/1177332/12384102/45b3ff3c-bde9-11e5-9425-1a3a01d1ef93.png

— Reply to this email directly or view it on GitHub https://github.com/jenkinsci/coordinator-plugin/issues/18#issuecomment-172431140 .

Gabbyr commented 8 years ago

hi - I'll try to show you what is it that we get now. i don't if it's related to multi job type maybe, or anything else, but we fail to run the following :

[image: Inline image 1]

and we see this on the build page :

[image: Inline image 2]

if we change the order of builds for the S jobs, we get the error on the other one. the jobs are simple and includes only bash calls and such, not something unusual.

the parallel job runs ok.

Thanks,

Gabby.

On Mon, Jan 18, 2016 at 7:55 AM, Gabby Romano omeriko12@gmail.com wrote:

Yes,I do have,since when tried running other jobs,it worked. i am guessing it has to do with a job inside another job,but I am not sure yet. On 18 Jan 2016 07:42, "Ace Han" notifications@github.com wrote:

Plz make sure the you've got enough executor as well.

coordinator would take up one executor, like below

[image: image] https://cloud.githubusercontent.com/assets/1177332/12384102/45b3ff3c-bde9-11e5-9425-1a3a01d1ef93.png

— Reply to this email directly or view it on GitHub https://github.com/jenkinsci/coordinator-plugin/issues/18#issuecomment-172431140 .

Gabbyr commented 8 years ago

Ace - another quick one - if you define a job as S one, does it mean that if you 2 serial jobs and the first one fails, the other won't run at all ?

Thanks.

On Tue, Jan 19, 2016 at 12:43 PM, Gabby Romano omeriko12@gmail.com wrote:

hi - I'll try to show you what is it that we get now. i don't if it's related to multi job type maybe, or anything else, but we fail to run the following :

[image: Inline image 1]

and we see this on the build page :

[image: Inline image 2]

if we change the order of builds for the S jobs, we get the error on the other one. the jobs are simple and includes only bash calls and such, not something unusual.

the parallel job runs ok.

Thanks,

Gabby.

On Mon, Jan 18, 2016 at 7:55 AM, Gabby Romano omeriko12@gmail.com wrote:

Yes,I do have,since when tried running other jobs,it worked. i am guessing it has to do with a job inside another job,but I am not sure yet. On 18 Jan 2016 07:42, "Ace Han" notifications@github.com wrote:

Plz make sure the you've got enough executor as well.

coordinator would take up one executor, like below

[image: image] https://cloud.githubusercontent.com/assets/1177332/12384102/45b3ff3c-bde9-11e5-9425-1a3a01d1ef93.png

— Reply to this email directly or view it on GitHub https://github.com/jenkinsci/coordinator-plugin/issues/18#issuecomment-172431140 .

ace-han commented 8 years ago

@Gabbyr Yes.

The direct children jobs under S one will get serial run one by one

If the leading job fails then its siblings(which is sharing the same S parent) wont get run at all

Gabbyr commented 8 years ago

Thanks Ace. and currently there is no way to put logic there, right ? On 20 Jan 2016 03:57, "Ace Han" notifications@github.com wrote:

@Gabbyr https://github.com/Gabbyr Yes.

The direct children jobs under S one will get serial run one by one

If the leading job fails then its siblings(which is sharing the same S parent) wont get run at all

— Reply to this email directly or view it on GitHub https://github.com/jenkinsci/coordinator-plugin/issues/18#issuecomment-173059406 .

ace-han commented 8 years ago

@Gabbyr No. Currently not supported.

If that is the case, you may consider Jenkins native build trigger.

I dont wanna be involved with that kind of complicated scenarios, unless there is a strong, good requirement request.

And is it okay for me to close this issue now?

Gabbyr commented 8 years ago

Yes,sure. i just didn't get an answer from you regarding a regular nested jobs - that should work as usual or it's not supported just like a coordinator job inside a coordinator job ?

On Wednesday, 20 January 2016, Ace Han notifications@github.com wrote:

@Gabbyr https://github.com/Gabbyr No. Currently not supported.

I dont wanna be involved with that kind of complicated scenarios.

If that is the case, you may consider Jenkins native build trigger.

And is it okay for me to close this issue now?

— Reply to this email directly or view it on GitHub https://github.com/jenkinsci/coordinator-plugin/issues/18#issuecomment-173130401 .

ace-han commented 8 years ago

@Gabbyr From your comment, the demo images are broken on github, plz update that comment so I could see what you are referring to.

ace-han commented 8 years ago

closing this issue after 7 days no replies @Gabbyr I think the answer to your question is no

Gabbyr commented 8 years ago

Hi Ace - i am running now Jenkins version 1.642.1. when I try to run a coordinator job now, I don't see the Job UI, only an empty white area. do you know if the security changes made at this jenkins version are causing this ?

Thanks,

Gabby.

On Mon, Jan 18, 2016 at 4:05 AM, Ace Han notifications@github.com wrote:

@Gabbyr https://github.com/Gabbyr The answer is No.

The design for this plugin is to take control over other jobs.

If you find any restriction then I think it's coordinator job within a coordinator job. And I won't support that cuz I don't have any idea about how the ui should be displayed in this situation, it's quite nasty.

For your case

  1. Look through the jenkins log every time the failing coordinator job triggered, see if any exception throws
  2. Zip the relevant jobs folder under your jenkins folder, I will run a quick check for you. like ~/win7e/workspace/github/jee/coordinator-plugin/work/jobs [image: image] https://cloud.githubusercontent.com/assets/1177332/12381726/d4896ce8-bdca-11e5-8e02-669f62f3c925.png

— Reply to this email directly or view it on GitHub https://github.com/jenkinsci/coordinator-plugin/issues/18#issuecomment-172407658 .

ace-han commented 8 years ago

Plz refer to #20, and do not raise new issue on the closed one Thx.

Gabbyr commented 8 years ago

Thanks Ace. On 23 Feb 2016 08:23, "Ace Han" notifications@github.com wrote:

Plz refer to #20 https://github.com/jenkinsci/coordinator-plugin/issues/20, and do not raise new issue on the closed one Thx.

— Reply to this email directly or view it on GitHub https://github.com/jenkinsci/coordinator-plugin/issues/18#issuecomment-187564776 .