Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl-Sensitive Sunglasses
 
PerlMonks  

Re: Jenkins and Perl

by jeffa (Bishop)
on Aug 03, 2015 at 20:55 UTC ( #1137297=note: print w/replies, xml ) Need Help??


in reply to Jenkins and Perl

I confess i have not been keeping up with new plugins, but here is my general Configuration that i use to build my CPAN modules from my github repo:

DIST=Your-Git-Distro rm -f *.tar.gz rm -rf ./$DIST git clone git://github.com/jeffa/$DIST.git cd $DIST perl Makefile.PL make make {test,manifest,tardist} mv $DIST-*.tar.gz .. mv MANIFEST ../MANIFEST.txt make veryclean prove -rlj3 --formatter=TAP::Formatter::JUnit --timer t/| tee ../junit +.xml pod2html --infile lib/My/HardCoded/Path/To/Module.pm --outfile ../$DIS +T.html
I also configure the "Files to archive" to *.tar.gz,*.txt,*.html (Archive the Artifacts) as well as set "Test report XMLs" to junit.xml (Publish JUnit test result report). The results are archives of the POD and distribution tar ball as well as a nice JUnit graph for the test pass/fails. Hope this helps!

jeffa

L-LL-L--L-LL-L--L-LL-L--
-R--R-RR-R--R-RR-R--R-RR
B--B--B--B--B--B--B--B--
H---H---H---H---H---H---
(the triplet paradiddle with high-hat)

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1137297]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (3)
As of 2021-12-01 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (15 votes). Check out past polls.

    Notices?