From 5147106b5966a3ea7ef31223a92b22444947ef30 Mon Sep 17 00:00:00 2001 From: Gautham B A Date: Mon, 1 May 2023 22:05:50 +0530 Subject: [PATCH] HADOOP-18725. Avoid cross-platform build for irrelevant Dockerfile changes (#5610) --- dev-support/jenkins.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-support/jenkins.sh b/dev-support/jenkins.sh index 1bb080d19c..ed6ef184b4 100644 --- a/dev-support/jenkins.sh +++ b/dev-support/jenkins.sh @@ -48,7 +48,7 @@ is_platform_change() { declare in_path in_path="${SOURCEDIR}"/"${1}" - for path in "${SOURCEDIR}"/dev-support/docker/Dockerfile* "${SOURCEDIR}"/dev-support/docker/pkg-resolver/*.json; do + for path in "${DOCKERFILE}" "${SOURCEDIR}"/dev-support/docker/pkg-resolver/*.json; do if [ "${in_path}" == "${path}" ]; then echo "Found C/C++ platform related changes in ${in_path}" return 0