diff options
author | Joshua Haberman <jhaberman@gmail.com> | 2016-03-30 10:51:26 -0700 |
---|---|---|
committer | Joshua Haberman <jhaberman@gmail.com> | 2016-03-30 10:51:26 -0700 |
commit | 34d0cc220b88faf300036a41cb8bec2499c6339a (patch) | |
tree | ab52fc3f92977c4b9bbfe07ce8ef88748f330e5e /jenkins/buildcmds | |
parent | 261fde17072075eb69be1acdd58f4a97986465e0 (diff) | |
parent | a15b916c419000565384a78224e402ed925e5fc8 (diff) | |
download | protobuf-34d0cc220b88faf300036a41cb8bec2499c6339a.tar.gz protobuf-34d0cc220b88faf300036a41cb8bec2499c6339a.tar.bz2 protobuf-34d0cc220b88faf300036a41cb8bec2499c6339a.zip |
Merge pull request #1295 from haberman/docker
Add support for running on Jenkins
Diffstat (limited to 'jenkins/buildcmds')
-rw-r--r-- | jenkins/buildcmds/README.md | 6 | ||||
-rwxr-xr-x | jenkins/buildcmds/pull_request.sh | 15 |
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 |