Using Jenkins for Continuous Integration of Perl components OSD2011

Post on 30-Nov-2014

7.972 views 1 download

description

Lightning talk presentation of Perl setup for Jenkins Continuous Integration platform. Notes and more information available at: https://logiclab.jira.com/wiki/display/OPEN/Continuous+Integration

Transcript of Using Jenkins for Continuous Integration of Perl components OSD2011

PERL AND CONTINUOUS INTEGRATION WITH JENKINS

jonasbn@dk-hostmaster.dk

FREE-STYLEPROJECT

SUBVERSION

SUBVERSION

BUILD SYSTEM

BUILDING

TESTING

TESTING MORE

TESTING EVENMORE

# Courtesy of Jeffrey Ryan Thalhammer# http://search.cpan.org/~thaljef/Test-Perl-Critic/lib/Test/Perl/Critic.pm

# The severity parameter interpretation was added by jonasbn# See: http://logiclab.jira.com/wiki/display/OPEN/Test-Perl-Critic

# $Id$

# $HeadURL$

use strict;use warnings;use File::Spec;use Test::More;use English qw(-no_match_vars);use Test::Perl::Critic;

if ( not $ENV{TEST_CRITIC} ) { my $msg = 'Author test. Set $ENV{TEST_CRITIC} to a true value to run.'; plan( skip_all => $msg );}

my $rcfile = File::Spec->catfile( 't', 'perlcriticrc' );

Test::Perl::Critic->import( -profile => $rcfile, -severity => ($ENV{TEST_CRITIC} and $ENV{TEST_CRITIC} >= 0 and $ENV{TEST_CRITIC} <= 5) ? $ENV{TEST_CRITIC} : 5);

all_critic_ok();

ENABLING JUNIT

ENABLING JUNIT

TIMINGS?

PROVE

TIMINGS!

COVERAGE TEST

HTML PUBLISHER PLUGIN

EXTENDED MENU

COVERAGEREPORT

THANK YOU!

jonasbn@dk-hostmaster.dk

THANK YOU!

•HTTP://LOGICLAB.JIRA.COM/WIKI/DISPLAY/OPEN/CONTINUOUS+INTEGRATION