forked from h2oai/h2o-3
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Jeff
committed
Apr 14, 2017
1 parent
6c239d7
commit acd12c1
Showing
1 changed file
with
73 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
#!/bin/bash | ||
|
||
set -e | ||
cat /proc/cpuinfo | grep 'model name' | head -n 1 | ||
#lsb_release -d | ||
uname -r | ||
BASE_PORT=$(eval ${BASE_PORT}) | ||
echo ${BASE_PORT} | ||
echo "" | ||
echo "************************************************************************************************************" | ||
echo "job $JOB_NAME on node $NODE_NAME with EXECUTOR_NUMBER $EXECUTOR_NUMBER issued by jenkins $JENKINS_URL" | ||
echo "************************************************************************************************************" | ||
echo "" | ||
date | ||
pwd | ||
echo "USING LOCAL BUILD OF $GIT_BRANCH from $GIT_URL" | ||
echo "Building in $WORKSPACE on $NODE_NAME. Will make that the gradle home dir" | ||
echo "Build tag is $BUILD_TAG" | ||
echo "Build id is $BUILD_ID" | ||
echo "Build url is $BUILD_URL" | ||
|
||
echo "Debug ENV" | ||
|
||
echo $PATH | ||
env | ||
locale | ||
|
||
java -version | ||
export BUILD_HADOOP=false | ||
export GRADLE_USER_HOME=$WORKSPACE | ||
# Use the Jenkins-user shared R library; already sync'd no need to sync again | ||
export R_LIBS_USER=${WORKSPACE}/../Rlibrary | ||
|
||
|
||
|
||
echo "" | ||
echo "*********************************************" | ||
echo "* Gradle clean" | ||
echo "*********************************************" | ||
echo "" | ||
./gradlew clean | ||
git clean -f | ||
|
||
rm -f -r smalldata | ||
ln -s /home/0xdiag/smalldata | ||
rm -f -r bigdata | ||
ln -s /home/0xdiag/bigdata | ||
|
||
# Use the Jenkins-user shared virtualenv | ||
echo "" | ||
echo "*********************************************" | ||
echo "* Activating Python virtualenv" | ||
echo "*********************************************" | ||
echo "" | ||
source $WORKSPACE/../h2o_venv/bin/activate | ||
|
||
which python | ||
which pip | ||
|
||
echo "" | ||
echo "*********************************************" | ||
echo "* List Environment *" | ||
echo "*********************************************" | ||
echo "" | ||
env | ||
|
||
echo "" | ||
echo "*********************************************" | ||
echo "* Building H2O" | ||
echo "*********************************************" | ||
echo "" | ||
./gradlew build --no-daemon | ||
|