Closed benediktvaldez closed 8 years ago
@benediktvaldez, using module.exports
to address jobBuild
was a bad idea, I'll change that.
For jenkins returning all jobs (or Mozaïk fetching all :)), I'll have to check.
@plouc Thanks :)
Another thing that would be cool, if I could simply ask for a pipeline, and list all of its stages and their status
Yes, I wanted to craft a widget for it, but unfortunately, last time I checked (don't remember when), I saw that the plugin didn't provided an API.
Ah, I see. At least I'm seeing it now, running Jenkins 1.644, I get a pipelines
array with my response :+1:
@benediktvaldez, just checked for the view widget and jenkins only returns the view's jobs, so Mozaïk just display those jobs (tested with jenkins 1.618).
@benediktvaldez, any update on this ?
On closer inspection I think the problem is that my view is a display of pipelines rather than a list of jobs. When I try to use a view with the regular list of jobs everything works fine.
So, problem is on my side :+1: I'll look into extending this extension with support for pipelines.
Thanks!
module.exports.jobBuild
in ./src/client.js line 65 isundefined
When I tried moving
jobBuild
outside of the returned object it worked.Not sure how you wanna address this @plouc, related issue is that
jobs
returns literally all jobs, not only for the requested view (this might be jenkins' fault though, not sure)