kgyrtkirk commented on code in PR #4732:
URL: https://github.com/apache/hive/pull/4732#discussion_r1343859640
##########
Jenkinsfile:
##########
@@ -364,6 +364,12 @@ tar -xzf
packaging/target/apache-hive-*-nightly-*-src.tar.gz
stage('PostProcess') {
try {
sh """#!/bin/bash -e
+ FAILED_FILES=`find . -name "TEST*xml" -exec grep -l "<failure"
{} \\; 2>/dev/null | head -n 10`
+ for a in \$FAILED_FILES
+ do
+ RENAME_TMP=`echo \$a | sed s/TEST-//g`
+ mv \${RENAME_TMP/.xml/-output.txt}
\${RENAME_TMP/.xml/-output-save.txt}
Review Comment:
this is bad - you should fix issues wiuth the debug job and not make a
crappy do-it-all from the main job...
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]