I've created a Jenkinsfile for use with log4cxx that can be seen here:
https://github.com/rm5248/logging-log4cxx/blob/f39b1737541ed31b8e56a8f6f550c0797a47bca5/Jenkinsfile

It's fairly complicated, but it does attempt to build log4cxx on both
Windows and Linux(see the latest build here:
https://jenkins.rm5248.com/job/log4cxx-pipeline/)

It does this by first downloading the latest APR, APR-util, and expat,
and then building those in the workspace(so that they need not be
installed on the build system).  However, attempting to configure
log4cxx at the moment results in an error due to some of the tests,
due to an extra entry in
src/test/cpp/xml/CMakeLists.txt(https://github.com/apache/logging-log4cxx/blob/76671956437e35864e1a5d843cefdf42c8154b76/src/test/cpp/xml/CMakeLists.txt#L5)

Anyway, it would be nice to get this running on builds.apache.org, but
I don't know at the moment a) how to do that, and b) if the Jenkins
instance there is configured properly in the first place.  It seems
that Jenkins seems to be building only Java applications, while APR
and other C applications seem to be built on ci.apache.org.  What's
the best way to help with this?

-Robert Middleton

Reply via email to