Fixed gating pipeline issue
Change-Id: Ia40e39f0c62461344df1cfedbcb25637b12d9624
diff --git a/gating-pipeline.groovy b/gating-pipeline.groovy
index a870ad4..68c1095 100644
--- a/gating-pipeline.groovy
+++ b/gating-pipeline.groovy
@@ -19,7 +19,7 @@
stage("test") {
if (gerritChange.status != "MERGED" && !SKIP_TEST.equals("true")){
// test max CodeReview
- if(gerrit.patchsetHasApproval(gerritChange.currentPatchSet,"CodeReview", "+")){
+ if(gerrit.patchsetHasApproval(gerritChange.currentPatchSet,"Code-Review", "+")){
doSubmit = true
wrap([$class: 'AnsiColorBuildWrapper']) {
def gerritProjectArray = GERRIT_PROJECT.tokenize("/")