You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@hive.apache.org by kg...@apache.org on 2020/06/05 21:21:22 UTC
[hive] branch master updated: HIVE-23626: Build failure is
incorrectly reported as tests passed (#1065)
This is an automated email from the ASF dual-hosted git repository.
kgyrtkirk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/hive.git
The following commit(s) were added to refs/heads/master by this push:
new ab07f9f HIVE-23626: Build failure is incorrectly reported as tests passed (#1065)
ab07f9f is described below
commit ab07f9f412336e562f04d8d09f2ec553bda26631
Author: Zoltan Haindrich <ki...@rxd.hu>
AuthorDate: Fri Jun 5 23:21:03 2020 +0200
HIVE-23626: Build failure is incorrectly reported as tests passed (#1065)
---
Jenkinsfile | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/Jenkinsfile b/Jenkinsfile
index 65cc65e..5126969 100644
--- a/Jenkinsfile
+++ b/Jenkinsfile
@@ -113,6 +113,7 @@ spec:
}
def jobWrappers(closure) {
+ def finalLabel="FAILURE";
try {
// allocate 1 precommit token for the execution
lock(label:'hive-precommit', quantity:1, variable: 'LOCKED_RESOURCE') {
@@ -121,8 +122,9 @@ def jobWrappers(closure) {
closure()
}
}
+ finalLabel=currentBuild.currentResult
} finally {
- setPrLabel(currentBuild.currentResult)
+ setPrLabel(finalLabel)
}
}