@@ -113,52 +113,6 @@ pipeline {
113113            }
114114        }
115115
116-         //  This is an optional stage which runs only when there's a change in
117-         //  C++/C++ build/platform.
118-         //  This stage serves as a means of cross platform validation, which is
119-         //  really needed to ensure that any C++ related/platform change doesn't
120-         //  break the Hadoop build on Centos 7.
121-         stage (' precommit-run Centos 7' 
122-             environment {
123-                 SOURCEDIR  =  " ${ WORKSPACE} " 
124-                 PATCHDIR  =  " ${ WORKSPACE} " 
125-                 DOCKERFILE  =  " ${ SOURCEDIR} " 
126-                 IS_OPTIONAL  =  1 
127-             }
128- 
129-             steps {
130-                 withCredentials(getGithubCreds()) {
131-                     sh ''' #!/usr/bin/env bash
132- 
133-                     chmod u+x "${SOURCEDIR}/dev-support/jenkins.sh" 
134-                     "${SOURCEDIR}/dev-support/jenkins.sh" run_ci 
135-                     '''  
136-                 }
137-             }
138- 
139-             post {
140-                 //  Since this is an optional platform, we want to copy the artifacts
141-                 //  and archive it only if the build fails, to help with debugging.
142-                 failure {
143-                     sh ''' #!/usr/bin/env bash
144- 
145-                     cp -Rp "${WORKSPACE}/centos-7/out" "${WORKSPACE}" 
146-                     '''  
147-                     archiveArtifacts " out/**" 
148-                 }
149- 
150-                 cleanup() {
151-                     script {
152-                         sh ''' #!/usr/bin/env bash
153- 
154-                         chmod u+x "${SOURCEDIR}/dev-support/jenkins.sh" 
155-                         "${SOURCEDIR}/dev-support/jenkins.sh" cleanup_ci_proc 
156-                         '''  
157-                     }
158-                 }
159-             }
160-         }
161- 
162116        //  This is an optional stage which runs only when there's a change in
163117        //  C++/C++ build/platform.
164118        //  This stage serves as a means of cross platform validation, which is
0 commit comments