Skip to content

Commit 56336a6

Browse files
committed
[CI] Use dedicated Apache mirror for Thrift
Update the premerge build to download Arrow's Apache Thrift tarball through sw-spark-apache-remote instead of sw-spark-maven/apache-remote. The dedicated Generic Artifactory remote is backed by archive.apache.org and automatically caches Apache tarballs, avoiding the manual uploads required by the Maven repository path. Continue authenticating through ~/.netrc with CMAKE_NETRC=OPTIONAL, and run the cuDF build through common.shWithRedactedAuthorization so CMake/libcurl failures cannot expose credentials in the Jenkins console while pipefail preserves the original command failure. Signed-off-by: Tim Liu <timl@nvidia.com>
1 parent 9243d07 commit 56336a6

1 file changed

Lines changed: 7 additions & 2 deletions

File tree

ci/Jenkinsfile.premerge

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -313,12 +313,17 @@ git --no-pager diff --name-only HEAD \$BASE -- ${PREMERGE_DOCKERFILE} || true"""
313313
} // end of pipeline
314314

315315
void runPremergeBuild() {
316+
// CMake uses ~/.netrc to authenticate to the Apache mirror. Redact credentials
317+
// from failed downloads via cuDF CMake/libcurl CLI before Jenkins logs them.
316318
common.prepareArtNetrc(this)
317319
withEnv([
318-
"ARROW_THRIFT_MIRROR_URL=https://${env.ARTIFACTORY_NAME}/artifactory/sw-spark-maven/apache-remote",
320+
"ARROW_THRIFT_MIRROR_URL=https://${env.ARTIFACTORY_NAME}/artifactory/sw-spark-apache-remote",
319321
"CMAKE_NETRC=OPTIONAL",
320322
]) {
321-
sh 'source build/env.sh && ${sclCMD} "ci/premerge-build.sh"'
323+
common.shWithRedactedAuthorization(
324+
this,
325+
'source build/env.sh && ${sclCMD} "ci/premerge-build.sh"'
326+
)
322327
}
323328
}
324329

0 commit comments

Comments
 (0)