Skip to content

Instantly share code, notes, and snippets.

@mlbright
Created July 12, 2013 20:13
Show Gist options
  • Save mlbright/5987414 to your computer and use it in GitHub Desktop.
Save mlbright/5987414 to your computer and use it in GitHub Desktop.
#!/usr/bin/env perl
use 5.016;
use JenkinsRC;
my $jenkins = JenkinsRC->new( url => $ENV{'JENKINS_URL'} );
my @jobs = @ARGV;
for my $job (@jobs) {
my $def = $jenkins->get($job);
say $def;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment