|
@@ -56,6 +56,34 @@ pipeline {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
+ // 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 Centos 8.
|
|
|
+ stage ('precommit-run Centos 8') {
|
|
|
+ environment {
|
|
|
+ DOCKERFILE = "${SOURCEDIR}/dev-support/docker/Dockerfile_centos_8"
|
|
|
+ IS_OPTIONAL = 1
|
|
|
+ }
|
|
|
+
|
|
|
+ steps {
|
|
|
+ withCredentials(
|
|
|
+ [usernamePassword(credentialsId: 'apache-hadoop-at-github.com',
|
|
|
+ passwordVariable: 'GITHUB_TOKEN',
|
|
|
+ usernameVariable: 'GITHUB_USER'),
|
|
|
+ usernamePassword(credentialsId: 'hadoopqa-at-asf-jira',
|
|
|
+ passwordVariable: 'JIRA_PASSWORD',
|
|
|
+ usernameVariable: 'JIRA_USER')]) {
|
|
|
+ sh '''#!/usr/bin/env bash
|
|
|
+
|
|
|
+ chmod u+x "${SOURCEDIR}/dev-support/jenkins.sh"
|
|
|
+ "${SOURCEDIR}/dev-support/jenkins.sh"
|
|
|
+ '''
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
+
|
|
|
// 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
|