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 <[email protected]>
AuthorDate: Wed Oct 4 09:04:47 2023 +0200
kie-issues#594: fix seed author literal (#1101)
Co-authored-by: jstastny-cz <[email protected]>
---
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: [email protected]
For additional commands, e-mail: [email protected]