You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kie.apache.org by tz...@apache.org on 2023/10/04 07:04:53 UTC
[incubator-kie-kogito-pipelines] branch main updated: kie-issues#594: fix seed author literal (#1101)
This is an automated email from the ASF dual-hosted git repository.
tzimanyi pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-kie-kogito-pipelines.git
The following commit(s) were added to refs/heads/main by this push:
new e5d0c77d kie-issues#594: fix seed author literal (#1101)
e5d0c77d is described below
commit e5d0c77daedde41e7d35da9b92d34b7e6b2f60fd
Author: Jan Stastny <st...@gmail.com>
AuthorDate: Wed Oct 4 09:04:47 2023 +0200
kie-issues#594: fix seed author literal (#1101)
Co-authored-by: jstastny-cz <ja...@ibm.com>
---
dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/Utils.groovy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/Utils.groovy b/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/Utils.groovy
index d04c3a47..91eb2612 100644
--- a/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/Utils.groovy
+++ b/dsl/seed/src/main/groovy/org/kie/jenkins/jobdsl/Utils.groovy
@@ -106,7 +106,7 @@ class Utils {
static boolean isProdEnvironment(def script) {
// Check for all possible `GIT_AUTHOR_NAME` variables
- return getSeedAuthor(script) == 'kieapachegroup' &&
+ return getSeedAuthor(script) == 'apache' &&
(hasGitAuthor(script) ? getGitAuthor(script) == 'apache' : true) &&
(hasSeedConfigFileGitAuthor(script) ? getSeedConfigFileGitAuthor(script) == 'apache' : true)
}
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@kie.apache.org
For additional commands, e-mail: commits-help@kie.apache.org