Add Java job for sandcastle

Summary: Adding java build job definition to sandcastle.

Test Plan: ./build_tools/rocksdb-lego-determinator java_build

Reviewers: yhchiang, sdong

Subscribers: andrewkr, dhruba, leveldb

Differential Revision: https://reviews.facebook.net/D56679
main
krad 9 years ago
parent 19ef3de57e
commit c2c8fe47f0
  1. 25
      build_tools/rocksdb-lego-determinator

@ -69,6 +69,7 @@ LITE="OPT=-DROCKSDB_LITE"
TSAN="COMPILE_WITH_TSAN=1" TSAN="COMPILE_WITH_TSAN=1"
UBSAN="COMPILE_WITH_UBSAN=1" UBSAN="COMPILE_WITH_UBSAN=1"
DISABLE_JEMALLOC="DISABLE_JEMALLOC=1" DISABLE_JEMALLOC="DISABLE_JEMALLOC=1"
JDK="JAVA_HOME=/usr/local/jdk-7u10-64/"
PARSER="'parser':'egrep \'Failure|^#|Abort|Expected|Actual|GoogleTestFailure|^==\''" PARSER="'parser':'egrep \'Failure|^#|Abort|Expected|Actual|GoogleTestFailure|^==\''"
ARTIFACTS=" 'artifacts': [ ARTIFACTS=" 'artifacts': [
@ -635,6 +636,27 @@ REGRESSION_COMMANDS="[
} }
]" ]"
#
# RocksDB Java build
#
JAVA_BUILD_TEST_COMMANDS="[
{
'name':'Rocksdb Java Build',
'oncall':'$ONCALL',
'steps': [
$CLEANUP_ENV,
{
'name':'Build RocksDB for Java',
'shell':'$JDK $SHM `fwdproxy-config --format=sh curl` make rocksdbjava',
'user':'root',
$PARSER
},
],
$REPORT
}
]"
case $1 in case $1 in
punit) punit)
echo $PARALLEL_UNIT_TEST_COMMANDS echo $PARALLEL_UNIT_TEST_COMMANDS
@ -708,6 +730,9 @@ case $1 in
run_regression) run_regression)
run_regression run_regression
;; ;;
java_build)
echo $JAVA_BUILD_TEST_COMMANDS
;;
*) *)
echo "Invalid determinator command" echo "Invalid determinator command"
;; ;;

Loading…
Cancel
Save