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.build should return the build number too #44

Open
matiasfha opened this issue May 6, 2016 · 2 comments
Open

jenkins.build should return the build number too #44

matiasfha opened this issue May 6, 2016 · 2 comments

Comments

@matiasfha
Copy link

Currently jenkins.build returns this kind of message.

{ message: 'job is executed',
location: 'http://jenkins.com/queue/item/3435/' }

Would be useful if the build number is returned too as a separate property in the response. This can be used to get the build info and to create the url of the build to allow users use that information. In some versions of jenkins or configurations the queue url is not available or accessible.

@dougflip
Copy link

I just ran into the same thing @msdark. The location is nice, but a build number would be very helpful!

@cbeach
Copy link

cbeach commented Sep 20, 2016

It looks like this is a problem with Jenkins and not node-jenkins-api. Here's a link to the relevant Jenkins bug report. Unfortunately that bug is marked Won't fix. If it's any consolation, at least it looks like they have some good reasons for not fixing it ¯_(ツ)_/¯

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

3 participants