>> 
>> I have not quite figured out how to schedule a sudo command in jenkins
>> I'm doing a "sudo install make" in Jenkins project 
>> "ooRexx-test-Raspbian-Jessie" to install rexx for the later execution of 
>> testOOrexx.  I do this, as I wasn't happy with executing directly from the 
>> build/bin directory, as I've sen issues e. g. with rexx.cat 
>> <http://rexx.cat/>.  Running from build instead off of an installed rexx, is 
>> the reason why Jenkins project "ooRexx-test-Z" currently fails some tests.
>> 
>> I?ll look into triggering the builds instead of polling them from svn, that 
>> would make it even more efficient and up-to-date.
>> I find the current setup convenient, where builds automatically occur (with 
>> a maximum delay of e. g. one hour) whenever SVN changes are checked-in
>> 
>> Next step is to have nightly builds available
>> While I understand that, after a successful build, a "sudo make install" 
>> will install rexx on this machine, I don't yet understand how a package file 
>> (.deb, pkg, whatever) can be built, that users can then download and install 
>> with their respective OS's package manager.  How's that done?
>> 

Hi Erich,

I just hit exactly on these restrictions while implementing the automatic tests 
on OBS builds. 

Basically, we run all our builds as a non-priviledged user – a temporary user 
named “abuild”. ooRexx has a few hardwired paths that make it difficult to run 
on a temporary setup like we need to run the tests (and also to make it 
portable). IIRC, Raspbian is even more tied to this concept. Almost everything 
runs with the user “pi”.

Also, there is the issue of  “rexx.cat not found”. It should be fixable by 
declaring the NLSPATH variable. However, it has a specific format (it’s not 
just a directory). I’m using “export NLSPATH=<path>/%N” to be able to run the 
tests. The %N is substituted by the catalog name (rexx.cat). Even if Linux 
supports it, I researched a bit and very few (if any distros) declare it 
anymore. Perhaps it’s a good time to port it to GNU Gettext?

As for a autobuild trigger on an external SVN commit, OBS supports it. I’ll try 
and find some documentation about it. I know some packages use this.

-- 
— Erico Mendonça

Dedicated Support Engineer
SUSE


------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Oorexx-devel mailing list
Oorexx-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-devel

Reply via email to