databuild/scripts/bb_remote

5 lines
155 B
Bash
Executable file

#!/usr/bin/env bash
eval $(bb_tmp)
echo "Building in $BUILD_HOST:$REMOTE_BUILD_PATH"
ssh $BUILD_HOST "cd $REMOTE_BUILD_PATH; . ~/.bash_profile; bazel $@"