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

check_jenkins_nodes.pl Does not work with Jenkins ver. 1.624 #15

Open
rrj2004 opened this issue Sep 9, 2015 · 1 comment
Open

check_jenkins_nodes.pl Does not work with Jenkins ver. 1.624 #15

rrj2004 opened this issue Sep 9, 2015 · 1 comment

Comments

@rrj2004
Copy link

rrj2004 commented Sep 9, 2015

It seems that output in api has changed. Now instead of
if($computer->{'offline'} eq 'true') should be if ($computer->{'offline'} eq '1') or even if(($computer->{'offline'} eq 'true') || ($computer->{'offline'} eq '1')) to get it to work.

rrj2004 added a commit to rrj2004/nagios-jenkins-plugin that referenced this issue Sep 9, 2015
@just-another-dude
Copy link

The same happened to me on version 2.236 & the above condition fixed it.
Thanks @rrj2004 !

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