aboutsummaryrefslogtreecommitdiffhomepage
path: root/jenkins/buildcmds/pull_request.sh
diff options
context:
space:
mode:
authorGravatar Josh Haberman <jhaberman@gmail.com>2016-03-04 14:21:18 -0800
committerGravatar Josh Haberman <jhaberman@gmail.com>2016-03-04 14:34:30 -0800
commit67c727cd411a339eb4233c84d9a1afadd8c20566 (patch)
treee3448c0ba00bb35e76eb8f01a413c0927d34ca0e /jenkins/buildcmds/pull_request.sh
parent7d793c167f51d5afff18e13b1dc1c0b060b3aae4 (diff)
Rearranged and commented files for running under Jenkins.
Diffstat (limited to 'jenkins/buildcmds/pull_request.sh')
-rwxr-xr-xjenkins/buildcmds/pull_request.sh15
1 files changed, 15 insertions, 0 deletions
diff --git a/jenkins/buildcmds/pull_request.sh b/jenkins/buildcmds/pull_request.sh
new file mode 100755
index 00000000..01fda798
--- /dev/null
+++ b/jenkins/buildcmds/pull_request.sh
@@ -0,0 +1,15 @@
+#!/bin/bash
+#
+# This is the top-level script we give to Jenkins as the entry point for
+# running the "pull request" project:
+#
+# https://grpc-testing.appspot.com/view/Protocol%20Buffers/job/protobuf_pull_request/
+#
+# This script selects a specific Dockerfile (for building a Docker image) and
+# a script to run inside that image. Then we delegate to the general
+# build_and_run_docker.sh script.
+
+export DOCKERFILE_DIR=jenkins/docker
+export DOCKER_RUN_SCRIPT=jenkins/pull_request_in_docker.sh
+export OUTPUT_DIR=testoutput
+./jenkins/build_and_run_docker.sh