[
https://issues.apache.org/jira/browse/HADOOP-19776?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18049996#comment-18049996
]
ASF GitHub Bot commented on HADOOP-19776:
-----------------------------------------
pan3793 commented on code in PR #8166:
URL: https://github.com/apache/hadoop/pull/8166#discussion_r2663536531
##########
dev-support/Jenkinsfile:
##########
@@ -136,7 +143,53 @@ pipeline {
failure {
sh '''#!/usr/bin/env bash
- cp -Rp "${WORKSPACE}/rockylinux-8/out" "${WORKSPACE}"
+ cp -Rp "${WORKSPACE}/debian-12/out" "${WORKSPACE}"
+ '''
+ archiveArtifacts "out/**"
+ }
+
+ cleanup() {
+ script {
+ sh '''#!/usr/bin/env bash
+
+ chmod u+x "${SOURCEDIR}/dev-support/jenkins.sh"
+ "${SOURCEDIR}/dev-support/jenkins.sh" cleanup_ci_proc
+ '''
+ }
+ }
+ }
+ }
+
+ // This is an optional stage which runs only when there's a change in
+ // C++/C++ build/platform.
+ // This stage serves as a means of cross platform validation, which is
+ // really needed to ensure that any C++ related/platform change doesn't
+ // break the Hadoop build on Debian 13.
+ stage ('precommit-run Debian 13') {
Review Comment:
to reduce maintainance effort, maybe it's sufficent to keep only one version
of debian, either 12 or 13 is fine
> trunk pre-commits for native code still try to use Java 8
> ---------------------------------------------------------
>
> Key: HADOOP-19776
> URL: https://issues.apache.org/jira/browse/HADOOP-19776
> Project: Hadoop Common
> Issue Type: Bug
> Components: precommit
> Reporter: Chris Nauroth
> Assignee: Chris Nauroth
> Priority: Major
> Labels: pull-request-available
>
> Even after HADOOP-19773, there are still some precommits trying to use Java 8:
> https://github.com/apache/hadoop/pull/8151#issuecomment-3711644942
> The reason is that the Jenkins pipeline has some optional steps for checking
> cross-platform compatibility on native code patches, and these are still
> using old Java 8 targets.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]