Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jenkins.view not working #7

Closed
benediktvaldez opened this issue Mar 14, 2016 · 7 comments
Closed

jenkins.view not working #7

benediktvaldez opened this issue Mar 14, 2016 · 7 comments

Comments

@benediktvaldez
Copy link

module.exports.jobBuild in ./src/client.js line 65 is undefined

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)

@plouc
Copy link
Owner

plouc commented Mar 14, 2016

@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.

@benediktvaldez
Copy link
Author

@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

@plouc
Copy link
Owner

plouc commented Mar 14, 2016

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.

@benediktvaldez
Copy link
Author

Ah, I see. At least I'm seeing it now, running Jenkins 1.644, I get a pipelines array with my response 👍

@plouc
Copy link
Owner

plouc commented Mar 14, 2016

@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).

@plouc
Copy link
Owner

plouc commented Mar 18, 2016

@benediktvaldez, any update on this ?

@benediktvaldez
Copy link
Author

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 👍 I'll look into extending this extension with support for pipelines.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants