This is an automated email from the ASF dual-hosted git repository.

abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git


The following commit(s) were added to refs/heads/main by this push:
     new 697c743be fix: jenkins production_pattern is same to 
deployment_pattern (#4050)
697c743be is described below

commit 697c743be6c024e8f9f3c5809bf77479e26bcbbc
Author: abeizn <[email protected]>
AuthorDate: Wed Dec 28 14:53:22 2022 +0800

    fix: jenkins production_pattern is same to deployment_pattern (#4050)
---
 plugins/jenkins/models/transformation_rule.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/jenkins/models/transformation_rule.go 
b/plugins/jenkins/models/transformation_rule.go
index 81f735eaf..a79d3820c 100644
--- a/plugins/jenkins/models/transformation_rule.go
+++ b/plugins/jenkins/models/transformation_rule.go
@@ -23,7 +23,7 @@ type JenkinsTransformationRule struct {
        common.Model      `mapstructure:"-"`
        Name              string `gorm:"type:varchar(255)" mapstructure:"name" 
json:"name"`
        DeploymentPattern string `gorm:"type:varchar(255)" 
mapstructure:"deploymentPattern,omitempty" json:"deploymentPattern"`
-       ProductionPattern string `gorm:"type:varchar(255)" 
mapstructure:"deploymentPattern,omitempty" json:"productionPattern"`
+       ProductionPattern string `gorm:"type:varchar(255)" 
mapstructure:"productionPattern,omitempty" json:"productionPattern"`
 }
 
 func (t JenkinsTransformationRule) TableName() string {

Reply via email to