2014-07-09 22:26:16 -04:00
|
|
|
#!/usr/bin/env bash
|
|
|
|
|
|
|
|
#
|
|
|
|
# Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
# contributor license agreements. See the NOTICE file distributed with
|
|
|
|
# this work for additional information regarding copyright ownership.
|
|
|
|
# The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
# (the "License"); you may not use this file except in compliance with
|
|
|
|
# the License. You may obtain a copy of the License at
|
|
|
|
#
|
|
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
#
|
|
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
# See the License for the specific language governing permissions and
|
|
|
|
# limitations under the License.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Wrapper script that runs the Spark tests then reports QA results
|
|
|
|
# to github via its API.
|
2014-08-15 01:05:14 -04:00
|
|
|
# Environment variables are populated by the code here:
|
|
|
|
#+ https://github.com/jenkinsci/ghprb-plugin/blob/master/src/main/java/org/jenkinsci/plugins/ghprb/GhprbTrigger.java#L139
|
2014-07-09 22:26:16 -04:00
|
|
|
|
2015-10-19 01:45:14 -04:00
|
|
|
FWDIR="$(cd "`dirname $0`"/..; pwd)"
|
2014-07-30 16:04:20 -04:00
|
|
|
cd "$FWDIR"
|
2014-07-09 22:26:16 -04:00
|
|
|
|
2015-10-19 01:45:14 -04:00
|
|
|
exec python -u ./dev/run-tests-jenkins.py "$@"
|