Hello Richard, about configurin test:

A solution could be , prepare the slave node with pre-installed requirement
(APR, XERCES-C, ICU, Active-MQ-Cpp, ..)  , because that never change until
developers decide migrate new versions of buid/test requirements as a part
of new improvement issue. With this avoid to build de requirements each
time.

--Regards

2017-01-07 17:11 GMT-05:00 Richard Eckart de Castilho <[email protected]>:

> Thanks for the tips.
>
> We now have a Jenkins job for the C++ SDK.
>
> https://builds.apache.org/view/S-Z/view/UIMA/job/UIMA-CPP-SDK/8/console
>
> Unfortunately, it doesn't pass the unit tests.
>
> The script that I created is a bit... well... it downloads ICU, APR,
> and XERCES-C from their respective sources and builds them as part of the
> UIMACPP build because we cannot expect the libraries to be present on
> the build nodes. It would be good idea to validate the MD5 sums of
> the sources before building them, but that is not done yet. Also,
> the build currently does not include Active-MQ support.
>
> Is it a known problem that the tests fail?
>
> -- Richard
>
> > On 06.01.2017, at 16:29, Roberto Carlos Toledano Gómez <[email protected]>
> wrote:
> >
> > Well, this culd be some steps:
> >
> > 1- Create multi-cinfiguration job, for build with combinations of
> > SO/compiler, for meet requirements like Ubuntu Linux Xenial 64 bits, GCC
> > 4.8, Clang, etc. For this you need aggregate some slave jenkins nodes
> with
> > the requirements you need.
> >
> > 2- After preliminary setup like git repository or suvbersion, for
> download
> > the code, in Build step select bash script and write the instructions for
> > build, for example:
> >
> >> ./configure --enable-static=yes --enable-shared=yes --prefix=/usr
> > --with-activemq=/usr/ --with-icu=/usr --with-apr=/usr
> > --with-jdk=/usr/lib/jvm/java-8-openjdk-amd64/include/
> >
> >> make
> >
> >> make test
> >
> > For build in Windows we create another job , that would be a freestyle
> job
> > and in the Build step, we select a bat script. But we are exploring MSYS
> > for use the same multi-configuration job with new Windown slave node.
> >
> > 2017-01-05 16:44 GMT-05:00 Richard Eckart de Castilho <[email protected]>:
> >
> >> On 05.01.2017, at 16:04, Roberto Carlos Toledano Gómez <
> [email protected]>
> >> wrote:
> >>>
> >>> Yes, I have some experience in jenkins jobs with c++ projects. I use
> bash
> >>> scripts for that.How can I help you/us.
> >>
> >> How would you set up a Jenkins job to build the UIMA-C project?
> >>
> >> I suppose one would start from a freestyle job? But even there,
> choosing a
> >> JDK seems mandatory...
> >>
> >> -- Richard
>
>

Reply via email to