Build Script Contribution
Martin Vahi <[email protected]> Fri, 16 Dec 2016 21:44:14 +0200
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
On 12/14/2016 05:46 PM, Kent R. Spillner wrote:
> ...
> Thanks for reporting this! I just tried to reproduce this
> from a clean checkout but the tests all passed for me
> (the build failed later during javadoc, though,
> which I'll take a look at but I think that's a separate issue):
>
> $ uname -a
> Linux wud-kspillner01 4.8.11-1-ARCH #1 SMP PREEMPT Sun Nov 27 09:26:14 CET 2016 x86_64 GNU/Linux
> $ java -version
> java version "1.8.0_66"
> Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
> Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)
>
> Is the error repeatable on your machine?
> ...
I found even new build errors, but there's no point
for me to describe them here, because I have a build/test script
to offer:
https://github.com/martinvahi/mmmv_notes/blob/master/mmmv_notes/mmmv_utilities/src/incomplete_and_undocumented/src/download_and_build_CruiseControl.bash
This script can be seen as a runnable documentation.
At first run it creates
./sandbox
clones the source from the Subversion repository and
places the clean source to
./sandbox/clean_copy_of_cruisecontrol_source
It uses a copy of it,
./sandbox/cruisecontrol
as a build directory. At second run it will not clone, but just
rm -fr ./sandbox/cruisecontrol
cp -f -R ./sandbox/clean_copy_of_cruisecontrol_source \
./sandbox/cruisecontrol
The sandbox folder needs to be deleted to force
cloning. Logs are placed to
./sandbox/cruisecontrol_build_logs
and an example with some details of one of the bugs
_might_ be found from
http://temporary.softf1.com/2016/bugs/cruisecontrol_buildlog_stdout_2016_12_16_21_07_23.txt
I suggest offering the script as part of the deliverables.
Maybe create a folder
contrib/test_scripts
to the cruisecontrol source tree and place the script there.
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot