Synopsis
use Jenkins::API;
my $jenkins = Jenkins::API->new({ base_url => 'http://jenkins:8080' });
my $status = $jenkins->current_status();
my @not_succeeded = grep { $_->{color} ne 'blue' } @{$status->{jobs}};
# {
# 'color' => 'red',
# 'name' => 'Test-Project',
# 'url' => 'http://jenkins:8080/job/Test-Project/',
# }
my $success = $jenkins->create_job($project_name, $config_xml);
...
Description
This module is a simple wrapper around the Jenkins API. The query API's implemented so far seem fairly straight forward but the API to create new jobs is very much a work in progress at the moment.

Comments
Please sign up to post a review.