Commit Graph

15 Commits

Author SHA1 Message Date
David Roberts cd04814cfb Change the Jenkins build entry point from shell script to gradle (elastic/elasticsearch#317)
Other related changes:
1) The Windows build is now done on Windows Server 2012r2
2) The Windows build is now done using Visual Studio 2013 Express (closes elastic/elasticsearch#256)
3) set_env.sh is only used with the C++ build
4) It is no longer necessary to set PRELERT_SRC_HOME if building via gradle -
   this environment variable IS still required for make, but gradle sets
   PRELERT_SRC_HOME before calling make
5) No build tools are loaded from the Prelert NAS
6) The version number for C++ components is now picked up from the same
   gradle.properties as the version number for Java components (closes elastic/elasticsearch#37)
7) "make test" now propagates error returns even when PRELERT_KEEP_GOING is
   defined - this means gradle only needs to check the return code of make
8) The C++ processes now print out Elasticsearch BV as the copyright owner

Jenkins implications:
1) Jenkins installs gradle 2.13 as part of the build process
2) Jenkins now does the build by executing these gradle tasks: cppAll, pluginAll
3) Jenkins must define the JAVA_HOME environment variables
4) The Jenkins slave running on Windows now has a standard setup, i.e. using
   cmd for its shell instead of Git bash
5) 64 bit Git for Windows is used on Windows build slaves instead of 32 bit
   msysgit

Original commit: elastic/x-pack-elasticsearch@01c863bfd0
2016-11-17 13:12:26 +00:00
Colin Goodheart-Smithe c6dadacb29 Changes the build to track elasticsearch 5.1.0-SNAPSHOT (elastic/elasticsearch#248)
Original commit: elastic/x-pack-elasticsearch@af689298f7
2016-11-07 09:27:22 +00:00
David Roberts 3033674607 Fix some Jenkins build issues (elastic/elasticsearch#221)
1) The C++ 3rd party libraries need to be copied to cppdistribution
   before gradle assemble runs
2) Use gradle check instead of gradle test in the build
3) We don't need Maven or pbzip2 any more
4) Make new_version.sh script update the right files
5) Keep a copy of the built plugin after the build

Outstanding TODOs:

1) Versioning needs to be brought in line with Elasticsearch
2) We are building a plugin per platform rather than one containing
   all platforms - we need a step that runs when all platforms have
   completed to create a single plugin
3) Strip the C++ binaries so the uploads aren't so big

Original commit: elastic/x-pack-elasticsearch@0cf32e134f
2016-11-02 15:41:12 +00:00
Colin Goodheart-Smithe 68ecc10ea7 Adds ide build gradle config (elastic/elasticsearch#203)
Makes the ides work the same as the main ES project

Original commit: elastic/x-pack-elasticsearch@3ca9d78ea9
2016-10-31 13:05:32 +00:00
Martijn van Groningen 791f74ded9 5.0 upgrade
Original commit: elastic/x-pack-elasticsearch@9627dadb00
2016-10-26 17:35:10 +02:00
Martijn van Groningen 926c04c00d upgraded to 5.0.0-rc1
Original commit: elastic/x-pack-elasticsearch@687f9669db
2016-10-14 14:47:04 +02:00
Martijn van Groningen 2af02b04e1 really remove old log4j from old engine-node module.
(only the engine-api-java module and its submodules remain to use old log4j)

Original commit: elastic/x-pack-elasticsearch@18a761eb9a
2016-10-04 20:08:24 +02:00
Dimitrios Athanasiou aba1447b67 Upgrade engine-node to beta1 and clean up after merge
Original commit: elastic/x-pack-elasticsearch@745043a99a
2016-10-04 17:03:06 +01:00
Martijn van Groningen 9fa9dc3fa5 removed forked base test classes and let tests depend on provided base classes.
During tests we run now only with jar hell enabled, security manager remains to be disabled.

Original commit: elastic/x-pack-elasticsearch@06aebc5ec5
2016-10-04 17:03:04 +01:00
David Roberts 9414b83e25 Updating version number
Original commit: elastic/x-pack-elasticsearch@027e5a6126
2016-10-04 09:18:52 +01:00
David Roberts 2d7b536848 Updating version number
Original commit: elastic/x-pack-elasticsearch@6427ca0255
2016-09-20 15:07:14 +01:00
David Roberts f37a86c880 Explicitly state source code encoding is UTF-8 in Gradle build files
Original commit: elastic/x-pack-elasticsearch@2f59b2c3a9
2016-09-19 15:00:38 +01:00
David Roberts 1b667b2584 Further split out C++ Gradle targets to make life easier for people without a C++ build environment
Original commit: elastic/x-pack-elasticsearch@eeca100a3b
2016-09-19 14:36:40 +01:00
David Roberts c0b1ac948c More Gradle migration changes
Original commit: elastic/x-pack-elasticsearch@2cdd825224
2016-09-19 14:08:35 +01:00
David Kyle f367ecf1e2 Build Native C++ binaries and Java code in a single gradle project.
C++ is built by calling make

Original commit: elastic/x-pack-elasticsearch@bd52bfd316
2016-09-16 17:30:45 +01:00