Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling

Re^2: cpan2rpm and Jenkins (not so perfect together?)

by blue_cowdawg (Monsignor)
on Mar 23, 2016 at 11:31 UTC ( #1158614=note: print w/replies, xml ) Need Help??

in reply to Re: cpan2rpm and Jenkins (not so perfect together?)
in thread cpan2rpm and Jenkins (not so perfect together?)

Yep, got that part down pat. And the creation of the repos is actually done by Puppet itself using a combination of the Exec type and a custom provider I cobbled together.

I'm having trouble creating the RPMs from Jenkins using cpan2rpm. Running cpan2rpm from the command line as the Jenkins user works great but doing the same from a Jenkins job is crashing and burning without issuing good intel on why.

I'm in the hopes somemonk has done this and figured out why this won't work inside a Jenkins job.

Peter L. Berghold -- Unix Professional
Peter -at- Berghold -dot- Net; Blog: Warning: No political correctness allowed.
  • Comment on Re^2: cpan2rpm and Jenkins (not so perfect together?)

Replies are listed 'Best First'.
Re^3: cpan2rpm and Jenkins (not so perfect together?)
by SBECK (Chaplain) on Mar 23, 2016 at 13:06 UTC

    This isn't exactly an answer to your question, but I needed to use cpan2rpm a couple years ago and got pretty frustrated with it's limitations (doesn't work well with Module::Build modules was a big one). I ended up rewriting it (mine is called cpantorpm). It handles quite a few cases that cpan2rpm doesn't. It is NOT a drop-in replacement, but it may work where cpan2rpm doesn't (since I'm not a Jenkins user, I can't really say).

    Read about it here:CPANtoRPM

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others cooling their heels in the Monastery: (2)
As of 2021-10-20 04:34 GMT
Find Nodes?
    Voting Booth?
    My first memorable Perl project was:

    Results (78 votes). Check out past polls.