From 865969400baebe1e7ae1e68d7d61e4339a02d4ee Mon Sep 17 00:00:00 2001 From: Stephane Nicoll Date: Fri, 30 Apr 2021 12:52:16 +0200 Subject: [PATCH] Polish See gh-26882 --- ci/scripts/build-pr.sh | 8 ++++++++ ci/tasks/build-pr.yml | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 ci/scripts/build-pr.sh diff --git a/ci/scripts/build-pr.sh b/ci/scripts/build-pr.sh new file mode 100644 index 0000000000..94c4e8df65 --- /dev/null +++ b/ci/scripts/build-pr.sh @@ -0,0 +1,8 @@ +#!/bin/bash +set -e + +source $(dirname $0)/common.sh + +pushd git-repo > /dev/null +./gradlew -Dorg.gradle.internal.launcher.welcomeMessageEnabled=false --no-daemon --max-workers=4 check +popd > /dev/null diff --git a/ci/tasks/build-pr.yml b/ci/tasks/build-pr.yml index 4847446ece..dbf6e9c0cf 100644 --- a/ci/tasks/build-pr.yml +++ b/ci/tasks/build-pr.yml @@ -16,4 +16,4 @@ run: args: - -ec - | - ${PWD}/git-repo/ci/scripts/build-project.sh + ${PWD}/git-repo/ci/scripts/build-pr.sh