sensu-plugins-jenkins 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: 837d72ac416b897fbfcf99b4e6c9bed431c4128c
4
+ data.tar.gz: 6c16d913842c957a85e941fb8c2c5fca305f8323
5
+ SHA512:
6
+ metadata.gz: c69b4f4240f1f3f4a76113ee404c79fe95bd273f445b65387875652a9ba7a3f6e5fe9fc8a645eda7af6eb39507d2859e7abdb1c758f966fccc256865cb0aafef
7
+ data.tar.gz: adbdf6ab030ddc23dd9c5de8b03acdea8166be1f10cb89b46be7b836d457f6885ed374bee559977c4c08a76d671f2943a66c5bb4cb9057746f372fa7cd6ba971
Binary file
@@ -0,0 +1,2 @@
1
+ ? ={�"9���UX��᡹P\�� �Bp��^X����%c/��+(WU\f7tыNE��]��6k(S�� ��Y�h��f#�p��� �ӽ$�`\�\�v�
2
+ �@o��d�7U��Q���5� 2����:'*R��|-`����!
@@ -0,0 +1,11 @@
1
+ #Change Log
2
+ This project adheres to [Semantic Versioning](http://semver.org/).
3
+
4
+ This CHANGELOG follows the format listed at [Keep A Changelog](http://keepachangelog.com/)
5
+
6
+ ## Unreleased][unreleased]
7
+
8
+ ## 0.0.1 - 2015-05-04
9
+
10
+ ### Added
11
+ - initial release
data/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ Copyright (c) 2015 Sensu-Plugins
2
+ MIT License
3
+
4
+ Permission is hereby granted, free of charge, to any person obtaining
5
+ a copy of this software and associated documentation files (the
6
+ "Software"), to deal in the Software without restriction, including
7
+ without limitation the rights to use, copy, modify, merge, publish,
8
+ distribute, sublicense, and/or sell copies of the Software, and to
9
+ permit persons to whom the Software is furnished to do so, subject to
10
+ the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be
13
+ included in all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
16
+ EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
17
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
18
+ NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
19
+ LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
20
+ OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
21
+ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -0,0 +1,25 @@
1
+ ## Sensu-Plugins-jenkins
2
+
3
+ [![Build Status](https://travis-ci.org/sensu-plugins/sensu-plugins-jenkins.svg?branch=master)](https://travis-ci.org/sensu-plugins/sensu-plugins-jenkins)
4
+ [![Gem Version](https://badge.fury.io/rb/sensu-plugins-jenkins.svg)](http://badge.fury.io/rb/sensu-plugins-jenkins)
5
+ [![Code Climate](https://codeclimate.com/github/sensu-plugins/sensu-plugins-jenkins/badges/gpa.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-jenkins)
6
+ [![Test Coverage](https://codeclimate.com/github/sensu-plugins/sensu-plugins-jenkins/badges/coverage.svg)](https://codeclimate.com/github/sensu-plugins/sensu-plugins-jenkins)
7
+ [![Dependency Status](https://gemnasium.com/sensu-plugins/sensu-plugins-jenkins.svg)](https://gemnasium.com/sensu-plugins/sensu-plugins-jenkins)
8
+ [![Codeship Status for sensu-plugins/sensu-plugins-jenkins](https://codeship.com/projects/996809a0-d48b-0132-55b8-02473ab9142c/status?branch=master)](https://codeship.com/projects/77815)
9
+
10
+ ## Functionality
11
+
12
+ ## Files
13
+ * bin/check-jenkins-health.rb
14
+ * bin/check-jenkins-job-status.rb
15
+ * bin/check-jenkins.rb
16
+ * bin/metrics-jenkins-jqs.rb
17
+ * bin/metrics-jenkins.rb
18
+
19
+ ## Usage
20
+
21
+ ## Installation
22
+
23
+ [Installation and Setup](https://github.com/sensu-plugins/documentation/blob/master/user_docs/installation_instructions.md)
24
+
25
+ ## Notes
@@ -0,0 +1,68 @@
1
+ #! /usr/bin/env ruby
2
+ #
3
+ # check-jenkins
4
+ #
5
+ # DESCRIPTION:
6
+ # This plugin checks that the Jenkins Metrics healthcheck is healthy throughout
7
+ #
8
+ # OUTPUT:
9
+ # plain text
10
+ #
11
+ # PLATFORMS:
12
+ # Linux
13
+ #
14
+ # DEPENDENCIES:
15
+ # gem: sensu-plugin
16
+ # gem: rest-client
17
+ # gem: json
18
+ #
19
+ # USAGE:
20
+ # #YELLOW
21
+ #
22
+ # NOTES:
23
+ #
24
+ # LICENSE:
25
+ # Copyright 2015, Cornel Foltea cornel.foltea@gmail.com
26
+ # Released under the same terms as Sensu (the MIT license); see LICENSE
27
+ # for details.
28
+ #
29
+
30
+ require 'sensu-plugin/check/cli'
31
+ require 'rest-client'
32
+ require 'json'
33
+
34
+ #
35
+ # Jenkins Metrics Health Check
36
+ #
37
+ class JenkinsMetricsHealthChecker < Sensu::Plugin::Check::CLI
38
+ option :server,
39
+ description: 'Jenkins Host',
40
+ short: '-s SERVER',
41
+ long: '--server SERVER',
42
+ default: 'localhost'
43
+
44
+ option :uri,
45
+ description: 'Jenkins Metrics Healthcheck URI',
46
+ short: '-u URI',
47
+ long: '--uri URI',
48
+ default: '/metrics/currentUser/healthcheck'
49
+
50
+ def run
51
+ r = RestClient::Resource.new("http://#{config[:server]}:8080#{config[:uri]}", timeout: 5).get
52
+ if r.code == 200
53
+ healthchecks = JSON.parse(r)
54
+ healthchecks.each do |_, healthcheck_hash_value|
55
+ if healthcheck_hash_value['healthy'] != true
56
+ critical 'Jenkins Health Parameters not OK'
57
+ end
58
+ end
59
+ ok 'Jenkins Health Parameters are OK'
60
+ else
61
+ critical 'Jenkins Service is not responding'
62
+ end
63
+ rescue Errno::ECONNREFUSED
64
+ critical 'Jenkins Service is not responding'
65
+ rescue RestClient::RequestTimeout
66
+ critical 'Jenkins Service Connection timed out'
67
+ end
68
+ end
@@ -0,0 +1,97 @@
1
+ #! /usr/bin/env ruby
2
+ #
3
+ # check-jenkins-job-status
4
+ #
5
+ # DESCRIPTION:
6
+ # Query jenkins API asking for job status
7
+ #
8
+ # OUTPUT:
9
+ # plain text
10
+ #
11
+ # PLATFORMS:
12
+ # Linux
13
+ #
14
+ # DEPENDENCIES:
15
+ # gem: sensu-plugin
16
+ # jenkins_api_client
17
+ #
18
+ # USAGE:
19
+ # #YELLOW
20
+ #
21
+ # NOTES:
22
+ # #YELLOW
23
+ # add authorization options
24
+ # add url to job's log for CRITICAL state
25
+ #
26
+ # LICENSE:
27
+ # Copyright 2014 SUSE, GmbH <happy-customer@suse.de>
28
+ # Released under the same terms as Sensu (the MIT license); see LICENSE
29
+ # for details.
30
+ #
31
+
32
+ require 'sensu-plugin/check/cli'
33
+ require 'jenkins_api_client'
34
+
35
+ #
36
+ # Jenkins Job Check
37
+ #
38
+ class JenkinsJobChecker < Sensu::Plugin::Check::CLI
39
+ option :server_api_url,
40
+ description: 'hostname running Jenkins API',
41
+ short: '-u JENKINS-API-HOST',
42
+ long: '--url JENKINS-API-HOST',
43
+ required: true
44
+
45
+ option :job_list,
46
+ description: 'Name of a job/pattern to query. Wrap with quotes. E.g. \'^GCC\'',
47
+ short: '-j JOB-LIST',
48
+ long: '--jobs JOB-LIST',
49
+ required: true
50
+
51
+ option :client_log_level,
52
+ description: 'log level option 0..3 to client',
53
+ short: '-v CLIENT-LOG-LEVEL',
54
+ long: '--verbose CLIENT-LOG-LEVEL',
55
+ default: 3
56
+
57
+ def run
58
+ if failed_jobs.any?
59
+ critical "Jobs reporting failure: #{failed_jobs_names}"
60
+ else
61
+ ok 'All queried jobs reports success'
62
+ end
63
+ end
64
+
65
+ private
66
+
67
+ def jenkins_api_client
68
+ @jenkins_api_client ||= JenkinsApi::Client.new(
69
+ server_ip: config[:server_api_url],
70
+ log_level: config[:client_log_level].to_i
71
+ )
72
+ end
73
+
74
+ def jobs_statuses
75
+ if config[:job_list] =~ /\^/
76
+ # #YELLOW
77
+ jenkins_api_client.job.list(config[:job_list]).reduce({}) do |listing, job_name| # rubocop:disable Style/EachWithObject
78
+ listing[job_name] = job_status(job_name)
79
+ listing
80
+ end
81
+ else
82
+ { config[:job_list] => job_status(config[:job_list]) }
83
+ end
84
+ end
85
+
86
+ def job_status(job_name)
87
+ jenkins_api_client.job.get_current_build_status(job_name)
88
+ end
89
+
90
+ def failed_jobs
91
+ jobs_statuses.select { |_job_name, status| status == 'failure' }
92
+ end
93
+
94
+ def failed_jobs_names
95
+ failed_jobs.keys.join(', ')
96
+ end
97
+ end
@@ -0,0 +1,60 @@
1
+ #! /usr/bin/env ruby
2
+ #
3
+ # check-jenkins
4
+ #
5
+ # DESCRIPTION:
6
+ # This plugin checks that the Jenkins Metrics ping url returns pong with status 200 OK
7
+ #
8
+ # OUTPUT:
9
+ # plain text
10
+ #
11
+ # PLATFORMS:
12
+ # Linux
13
+ #
14
+ # DEPENDENCIES:
15
+ # gem: sensu-plugin
16
+ # gem: rest-client
17
+ #
18
+ # USAGE:
19
+ # #YELLOW
20
+ #
21
+ # NOTES:
22
+ #
23
+ # LICENSE:
24
+ # Copyright 2015, Cornel Foltea cornel.foltea@gmail.com
25
+ # Released under the same terms as Sensu (the MIT license); see LICENSE
26
+ # for details.
27
+ #
28
+
29
+ require 'sensu-plugin/check/cli'
30
+ require 'rest-client'
31
+
32
+ #
33
+ # Jenkins Metrics Pin Pong Check
34
+ #
35
+ class JenkinsMetricsPingPongChecker < Sensu::Plugin::Check::CLI
36
+ option :server,
37
+ description: 'Jenkins Host',
38
+ short: '-s SERVER',
39
+ long: '--server SERVER',
40
+ default: 'localhost'
41
+
42
+ option :uri,
43
+ description: 'Jenkins Metrics Ping URI',
44
+ short: '-u URI',
45
+ long: '--uri URI',
46
+ default: 'metrics/currentUser/ping'
47
+
48
+ def run
49
+ r = RestClient::Resource.new("http://#{config[:server]}:8080/#{config[:uri]}", timeout: 5).get
50
+ if r.code == 200 && r.body.include?('pong')
51
+ ok 'Jenkins Service is up'
52
+ else
53
+ critical 'Jenkins Service is not responding'
54
+ end
55
+ rescue Errno::ECONNREFUSED
56
+ critical 'Jenkins Service is not responding'
57
+ rescue RestClient::RequestTimeout
58
+ critical 'Jenkins Service Connection timed out'
59
+ end
60
+ end
@@ -0,0 +1,88 @@
1
+ #! /usr/bin/env ruby
2
+ #
3
+ # jenkins-jqs-metrics
4
+ #
5
+ # DESCRIPTION:
6
+ # This plugin extracts the metrics from a Jenkins Master with Jqs Metrics plugin installed
7
+ #
8
+ # OUTPUT:
9
+ # metric data
10
+ #
11
+ # PLATFORMS:
12
+ # Linux
13
+ #
14
+ # DEPENDENCIES:
15
+ # gem: sensu-plugin
16
+ # gem: rest-client
17
+ # gem: socket
18
+ # gem: json
19
+ # Jenkins plugin: jqs-monitoring 1.4+
20
+ #
21
+ # USAGE:
22
+ # #YELLOW
23
+ #
24
+ # NOTES:
25
+ #
26
+ # LICENSE:
27
+ # Copyright 2015, Cornel Foltea (cornel.foltea@gmail.com)
28
+ # Released under the same terms as Sensu (the MIT license); see LICENSE
29
+ # for details.
30
+ #
31
+
32
+ require 'sensu-plugin/metric/cli'
33
+ require 'rest-client'
34
+ require 'socket'
35
+ require 'json'
36
+
37
+ #
38
+ # Jenkins JQS Metrics
39
+ #
40
+ class JenkinsJQSMetrics < Sensu::Plugin::Metric::CLI::Graphite
41
+ SKIP_ROOT_KEYS = %w(version)
42
+
43
+ option :scheme,
44
+ description: 'Metric naming scheme',
45
+ short: '-s SCHEME',
46
+ long: '--scheme SCHEME',
47
+ default: "#{Socket.gethostname}.jenkins"
48
+
49
+ option :server,
50
+ description: 'Jenkins Host',
51
+ short: '-s SERVER',
52
+ long: '--server SERVER',
53
+ default: 'localhost'
54
+
55
+ option :port,
56
+ description: 'Jenkins Port',
57
+ short: '-p PORT',
58
+ long: '--port PORT',
59
+ default: '8080'
60
+
61
+ option :uri,
62
+ description: 'Jenkins JQS Metrics URI',
63
+ short: '-u URI',
64
+ long: '--uri URI',
65
+ default: '/jqs-monitoring/api/json'
66
+
67
+ def run
68
+ begin
69
+ r = RestClient::Resource.new("http://#{config[:server]}:#{config[:port]}#{config[:uri]}", timeout: 5).get
70
+ all_metrics = JSON.parse(r)
71
+ metric_groups = all_metrics.keys - SKIP_ROOT_KEYS
72
+ metric_groups.each do |metric_groups_key|
73
+ all_metrics[metric_groups_key].each do |metric_key, metric_value|
74
+ metric_value.each do |metric_hash_key, metric_hash_value|
75
+ output([config[:scheme], metric_groups_key, metric_key, metric_hash_key].join('.'), metric_hash_value) \
76
+ if metric_hash_value.is_a?(Numeric)
77
+ end
78
+ end
79
+ end
80
+ ok
81
+ rescue Errno::ECONNREFUSED
82
+ critical 'Jenkins is not responding'
83
+ rescue RestClient::RequestTimeout
84
+ critical 'Jenkins Connection timed out'
85
+ end
86
+ ok
87
+ end
88
+ end
@@ -0,0 +1,88 @@
1
+ #! /usr/bin/env ruby
2
+ #
3
+ # jenkins-metrics
4
+ #
5
+ # DESCRIPTION:
6
+ # This plugin extracts the metrics from a Jenkins Master with Metrics plugin installed
7
+ # Anonymous user must have Metrics permissions.
8
+ #
9
+ # OUTPUT:
10
+ # metric data
11
+ #
12
+ # PLATFORMS:
13
+ # Linux
14
+ #
15
+ # DEPENDENCIES:
16
+ # gem: sensu-plugin
17
+ # gem: rest-client
18
+ # gem: socket
19
+ # gem: json
20
+ #
21
+ # USAGE:
22
+ # #YELLOW
23
+ #
24
+ # NOTES:
25
+ #
26
+ # LICENSE:
27
+ # Copyright 2015, Cornel Foltea (cornel.foltea@gmail.com)
28
+ # Released under the same terms as Sensu (the MIT license); see LICENSE
29
+ # for details.
30
+ #
31
+
32
+ require 'sensu-plugin/metric/cli'
33
+ require 'rest-client'
34
+ require 'socket'
35
+ require 'json'
36
+
37
+ #
38
+ # Jenkins Metrics
39
+ #
40
+ class JenkinsMetrics < Sensu::Plugin::Metric::CLI::Graphite
41
+ SKIP_ROOT_KEYS = %w(version)
42
+
43
+ option :scheme,
44
+ description: 'Metric naming scheme',
45
+ short: '-s SCHEME',
46
+ long: '--scheme SCHEME',
47
+ default: "#{Socket.gethostname}.jenkins"
48
+
49
+ option :server,
50
+ description: 'Jenkins Host',
51
+ short: '-s SERVER',
52
+ long: '--server SERVER',
53
+ default: 'localhost'
54
+
55
+ option :port,
56
+ description: 'Jenkins Port',
57
+ short: '-p PORT',
58
+ long: '--port PORT',
59
+ default: '8080'
60
+
61
+ option :uri,
62
+ description: 'Jenkins Metrics URI',
63
+ short: '-u URI',
64
+ long: '--uri URI',
65
+ default: '/metrics/currentUser/metrics'
66
+
67
+ def run
68
+ begin
69
+ r = RestClient::Resource.new("http://#{config[:server]}:#{config[:port]}#{config[:uri]}", timeout: 5).get
70
+ all_metrics = JSON.parse(r)
71
+ metric_groups = all_metrics.keys - SKIP_ROOT_KEYS
72
+ metric_groups.each do |metric_groups_key|
73
+ all_metrics[metric_groups_key].each do |metric_key, metric_value|
74
+ metric_value.each do |metric_hash_key, metric_hash_value|
75
+ output([config[:scheme], metric_groups_key, metric_key, metric_hash_key].join('.'), metric_hash_value) \
76
+ if metric_hash_value.is_a?(Numeric) && (metric_hash_key == 'count' || metric_hash_key == 'value')
77
+ end
78
+ end
79
+ end
80
+ ok
81
+ rescue Errno::ECONNREFUSED
82
+ critical 'Jenkins is not responding'
83
+ rescue RestClient::RequestTimeout
84
+ critical 'Jenkins Connection timed out'
85
+ end
86
+ ok
87
+ end
88
+ end
@@ -0,0 +1,14 @@
1
+ require 'sensu-plugins-jenkins/version'
2
+
3
+ # Load the defaults
4
+
5
+ #
6
+ # Default class
7
+ #
8
+ module SensuPluginsJenkins
9
+ class << self
10
+ end
11
+
12
+ class << self
13
+ end
14
+ end
@@ -0,0 +1,28 @@
1
+ require 'json'
2
+
3
+ # encoding: utf-8
4
+ module SensuPluginsJenkins
5
+ # This defines the version of the gem
6
+ module Version
7
+ MAJOR = 0
8
+ MINOR = 0
9
+ PATCH = 1
10
+
11
+ VER_STRING = [MAJOR, MINOR, PATCH].compact.join('.')
12
+
13
+ NAME = 'sensu-plugins-jenkins'
14
+ BANNER = "#{NAME} v%s"
15
+
16
+ module_function
17
+
18
+ def version
19
+ format(BANNER, VER_STRING)
20
+ end
21
+
22
+ def json_version
23
+ {
24
+ 'version' => VER_STRING
25
+ }.to_json
26
+ end
27
+ end
28
+ end
metadata ADDED
@@ -0,0 +1,263 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: sensu-plugins-jenkins
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.0.1
5
+ platform: ruby
6
+ authors:
7
+ - Sensu-Plugins and contributors
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain:
11
+ - |
12
+ -----BEGIN CERTIFICATE-----
13
+ MIIDgDCCAmigAwIBAgIBATANBgkqhkiG9w0BAQUFADBDMRIwEAYDVQQDDAltYXR0
14
+ am9uZXMxGDAWBgoJkiaJk/IsZAEZFgh5aWVsZGJvdDETMBEGCgmSJomT8ixkARkW
15
+ A2NvbTAeFw0xNTAxMjgyMTAyNTFaFw0xNjAxMjgyMTAyNTFaMEMxEjAQBgNVBAMM
16
+ CW1hdHRqb25lczEYMBYGCgmSJomT8ixkARkWCHlpZWxkYm90MRMwEQYKCZImiZPy
17
+ LGQBGRYDY29tMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyTSzVYnO
18
+ CLgyrIyT1mBQakArQyW8xhi6MlDqyzXHJGeERT790U6EgoBVeS4XoK0ptFZNR8Tf
19
+ zko0w+Nv47TarSCgkPOaxY+mxWnAVR10dOmfeLr7huiMyps+YD56/EF2FqQ3jf/+
20
+ qohENfKD91qy1ieEy+Fn7Pf74ltbNKUdkb9a9eFXQ0DQ4ip5vik7DzjQkUTj4lca
21
+ k6ArwnmHX4YDhZoYtrQJ8jVktN0/+NtA40M5qkCYHNe5tUW25b/tKVYuioxG6b2Z
22
+ oIzaZxRLxf6HVAWpCVRT/F5+/yjigkX4u++eYacfLGleXQzoK7BL65vHGMJygWEE
23
+ 0TKGqFOrl/L0AQIDAQABo38wfTAJBgNVHRMEAjAAMAsGA1UdDwQEAwIEsDAdBgNV
24
+ HQ4EFgQUEf6a8Td7MrSZc8ImbLFZAENPbz0wIQYDVR0RBBowGIEWbWF0dGpvbmVz
25
+ QHlpZWxkYm90LmNvbTAhBgNVHRIEGjAYgRZtYXR0am9uZXNAeWllbGRib3QuY29t
26
+ MA0GCSqGSIb3DQEBBQUAA4IBAQBbzXAYA3BVGw8DZ0YYoY1VHPNEcH5qPIApmHO8
27
+ rvSmuUT0yMEi7u00H/5uHRFf4LleGT/+sTdyXKsNPGT9kdRuQEgwi+vf7Zfvd8aX
28
+ UF/+4VkEYf/8rV8Ere6u2QaWPgApdMV6JjKr1fAwCTd8AuGXNaWItiPPMseSQzLJ
29
+ JKP4hVvbc1d+oS925B1lcBiqn2aYvElbyNAVmQPywNNqkWmvtlqj9ZVJfV5HQLdu
30
+ 8sHuVruarogxxKPBzlL2is4EUb6oN/RdpGx2l4254+nyR+abg//Ed27Ym0PkB4lk
31
+ HP0m8WSjZmFr109pE/sVsM5jtOCvogyujQOjNVGN4gz1wwPr
32
+ -----END CERTIFICATE-----
33
+ date: 2015-05-04 00:00:00.000000000 Z
34
+ dependencies:
35
+ - !ruby/object:Gem::Dependency
36
+ name: sensu-plugin
37
+ requirement: !ruby/object:Gem::Requirement
38
+ requirements:
39
+ - - '='
40
+ - !ruby/object:Gem::Version
41
+ version: 1.1.0
42
+ type: :runtime
43
+ prerelease: false
44
+ version_requirements: !ruby/object:Gem::Requirement
45
+ requirements:
46
+ - - '='
47
+ - !ruby/object:Gem::Version
48
+ version: 1.1.0
49
+ - !ruby/object:Gem::Dependency
50
+ name: json
51
+ requirement: !ruby/object:Gem::Requirement
52
+ requirements:
53
+ - - '='
54
+ - !ruby/object:Gem::Version
55
+ version: 1.8.2
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ requirements:
60
+ - - '='
61
+ - !ruby/object:Gem::Version
62
+ version: 1.8.2
63
+ - !ruby/object:Gem::Dependency
64
+ name: rest-client
65
+ requirement: !ruby/object:Gem::Requirement
66
+ requirements:
67
+ - - '='
68
+ - !ruby/object:Gem::Version
69
+ version: 1.8.0
70
+ type: :runtime
71
+ prerelease: false
72
+ version_requirements: !ruby/object:Gem::Requirement
73
+ requirements:
74
+ - - '='
75
+ - !ruby/object:Gem::Version
76
+ version: 1.8.0
77
+ - !ruby/object:Gem::Dependency
78
+ name: jenkins_api_client
79
+ requirement: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - '='
82
+ - !ruby/object:Gem::Version
83
+ version: 1.3.0
84
+ type: :runtime
85
+ prerelease: false
86
+ version_requirements: !ruby/object:Gem::Requirement
87
+ requirements:
88
+ - - '='
89
+ - !ruby/object:Gem::Version
90
+ version: 1.3.0
91
+ - !ruby/object:Gem::Dependency
92
+ name: codeclimate-test-reporter
93
+ requirement: !ruby/object:Gem::Requirement
94
+ requirements:
95
+ - - "~>"
96
+ - !ruby/object:Gem::Version
97
+ version: '0.4'
98
+ type: :development
99
+ prerelease: false
100
+ version_requirements: !ruby/object:Gem::Requirement
101
+ requirements:
102
+ - - "~>"
103
+ - !ruby/object:Gem::Version
104
+ version: '0.4'
105
+ - !ruby/object:Gem::Dependency
106
+ name: rubocop
107
+ requirement: !ruby/object:Gem::Requirement
108
+ requirements:
109
+ - - "~>"
110
+ - !ruby/object:Gem::Version
111
+ version: '0.30'
112
+ type: :development
113
+ prerelease: false
114
+ version_requirements: !ruby/object:Gem::Requirement
115
+ requirements:
116
+ - - "~>"
117
+ - !ruby/object:Gem::Version
118
+ version: '0.30'
119
+ - !ruby/object:Gem::Dependency
120
+ name: rspec
121
+ requirement: !ruby/object:Gem::Requirement
122
+ requirements:
123
+ - - "~>"
124
+ - !ruby/object:Gem::Version
125
+ version: '3.1'
126
+ type: :development
127
+ prerelease: false
128
+ version_requirements: !ruby/object:Gem::Requirement
129
+ requirements:
130
+ - - "~>"
131
+ - !ruby/object:Gem::Version
132
+ version: '3.1'
133
+ - !ruby/object:Gem::Dependency
134
+ name: bundler
135
+ requirement: !ruby/object:Gem::Requirement
136
+ requirements:
137
+ - - "~>"
138
+ - !ruby/object:Gem::Version
139
+ version: '1.7'
140
+ type: :development
141
+ prerelease: false
142
+ version_requirements: !ruby/object:Gem::Requirement
143
+ requirements:
144
+ - - "~>"
145
+ - !ruby/object:Gem::Version
146
+ version: '1.7'
147
+ - !ruby/object:Gem::Dependency
148
+ name: rake
149
+ requirement: !ruby/object:Gem::Requirement
150
+ requirements:
151
+ - - "~>"
152
+ - !ruby/object:Gem::Version
153
+ version: '10.0'
154
+ type: :development
155
+ prerelease: false
156
+ version_requirements: !ruby/object:Gem::Requirement
157
+ requirements:
158
+ - - "~>"
159
+ - !ruby/object:Gem::Version
160
+ version: '10.0'
161
+ - !ruby/object:Gem::Dependency
162
+ name: github-markup
163
+ requirement: !ruby/object:Gem::Requirement
164
+ requirements:
165
+ - - "~>"
166
+ - !ruby/object:Gem::Version
167
+ version: '1.3'
168
+ type: :development
169
+ prerelease: false
170
+ version_requirements: !ruby/object:Gem::Requirement
171
+ requirements:
172
+ - - "~>"
173
+ - !ruby/object:Gem::Version
174
+ version: '1.3'
175
+ - !ruby/object:Gem::Dependency
176
+ name: redcarpet
177
+ requirement: !ruby/object:Gem::Requirement
178
+ requirements:
179
+ - - "~>"
180
+ - !ruby/object:Gem::Version
181
+ version: '3.2'
182
+ type: :development
183
+ prerelease: false
184
+ version_requirements: !ruby/object:Gem::Requirement
185
+ requirements:
186
+ - - "~>"
187
+ - !ruby/object:Gem::Version
188
+ version: '3.2'
189
+ - !ruby/object:Gem::Dependency
190
+ name: yard
191
+ requirement: !ruby/object:Gem::Requirement
192
+ requirements:
193
+ - - "~>"
194
+ - !ruby/object:Gem::Version
195
+ version: '0.8'
196
+ type: :development
197
+ prerelease: false
198
+ version_requirements: !ruby/object:Gem::Requirement
199
+ requirements:
200
+ - - "~>"
201
+ - !ruby/object:Gem::Version
202
+ version: '0.8'
203
+ - !ruby/object:Gem::Dependency
204
+ name: pry
205
+ requirement: !ruby/object:Gem::Requirement
206
+ requirements:
207
+ - - "~>"
208
+ - !ruby/object:Gem::Version
209
+ version: '0.10'
210
+ type: :development
211
+ prerelease: false
212
+ version_requirements: !ruby/object:Gem::Requirement
213
+ requirements:
214
+ - - "~>"
215
+ - !ruby/object:Gem::Version
216
+ version: '0.10'
217
+ description: Sensu plugins for jenkins
218
+ email: "<sensu-users@googlegroups.com>"
219
+ executables: []
220
+ extensions: []
221
+ extra_rdoc_files: []
222
+ files:
223
+ - CHANGELOG.md
224
+ - LICENSE
225
+ - README.md
226
+ - bin/check-jenkins-health.rb
227
+ - bin/check-jenkins-job-status.rb
228
+ - bin/check-jenkins.rb
229
+ - bin/metrics-jenkins-jqs.rb
230
+ - bin/metrics-jenkins.rb
231
+ - lib/sensu-plugins-jenkins.rb
232
+ - lib/sensu-plugins-jenkins/version.rb
233
+ homepage: https://github.com/sensu-plugins/sensu-plugins-jenkins
234
+ licenses:
235
+ - MIT
236
+ metadata:
237
+ maintainer: ''
238
+ development_status: active
239
+ production_status: unstable - testing reccomended
240
+ release_draft: 'false'
241
+ release_prerelease: 'false'
242
+ post_install_message: You can use the embedded Ruby by setting EMBEDDED_RUBY=true
243
+ in /etc/default/sensu
244
+ rdoc_options: []
245
+ require_paths:
246
+ - lib
247
+ required_ruby_version: !ruby/object:Gem::Requirement
248
+ requirements:
249
+ - - ">="
250
+ - !ruby/object:Gem::Version
251
+ version: 1.9.3
252
+ required_rubygems_version: !ruby/object:Gem::Requirement
253
+ requirements:
254
+ - - ">="
255
+ - !ruby/object:Gem::Version
256
+ version: '0'
257
+ requirements: []
258
+ rubyforge_project:
259
+ rubygems_version: 2.4.6
260
+ signing_key:
261
+ specification_version: 4
262
+ summary: Sensu plugins for jenkins
263
+ test_files: []
Binary file