diff --git a/dev/run-tests.py b/dev/run-tests.py index ca502b2818..223072cbe7 100755 --- a/dev/run-tests.py +++ b/dev/run-tests.py @@ -363,7 +363,8 @@ def build_spark_assembly_sbt(extra_profiles, checkstyle=False): if checkstyle: run_java_style_checks(build_profiles) - build_spark_unidoc_sbt(extra_profiles) + if not os.environ.get("AMPLAB_JENKINS"): + build_spark_unidoc_sbt(extra_profiles) def build_apache_spark(build_tool, extra_profiles):