aboutsummaryrefslogtreecommitdiff
path: root/jenkins/buildcmds
diff options
context:
space:
mode:
authorJisi Liu <jisi.liu@gmail.com>2016-03-30 11:43:44 -0700
committerJisi Liu <jisi.liu@gmail.com>2016-03-30 11:43:44 -0700
commit0de06f54bc8253ba39eee9e8cc4c5de487a48835 (patch)
treee66dec08e23df554f5c29a1dbb4592388815e4ec /jenkins/buildcmds
parent3b3c8abb9635eb3ea078a821a99c9ef29d66dff7 (diff)
parenta25e9964b126a79e8a99bced2207ddca22d6a1a9 (diff)
downloadprotobuf-0de06f54bc8253ba39eee9e8cc4c5de487a48835.tar.gz
protobuf-0de06f54bc8253ba39eee9e8cc4c5de487a48835.tar.bz2
protobuf-0de06f54bc8253ba39eee9e8cc4c5de487a48835.zip
Merge branch 'master' of github.com:google/protobuf
Diffstat (limited to 'jenkins/buildcmds')
-rw-r--r--jenkins/buildcmds/README.md6
-rwxr-xr-xjenkins/buildcmds/pull_request.sh15
2 files changed, 21 insertions, 0 deletions
diff --git a/jenkins/buildcmds/README.md b/jenkins/buildcmds/README.md
new file mode 100644
index 00000000..7a48f2d5
--- /dev/null
+++ b/jenkins/buildcmds/README.md
@@ -0,0 +1,6 @@
+
+Jenkins Build Commands
+----------------------
+
+The scripts in this directory are designed to be top-level entry points for
+Jenkins projects.
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