1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#!/bin/bash MY_DIR="$(dirname "$0")" BUILD_DIR=/tmp/protobuf source $MY_DIR/tests.sh # Set value used in tests.sh. PARALLELISM=-j8 rm -rf $BUILD_DIR mkdir -p $BUILD_DIR cd $BUILD_DIR git clone /var/local/jenkins/protobuf cd protobuf build_cpp