diff --git a/jenkins_test.go b/jenkins_test.go index b9a58e9..ed7c45a 100644 --- a/jenkins_test.go +++ b/jenkins_test.go @@ -73,7 +73,7 @@ func TestCreateJobItem(t *testing.T) { }, }, IgnoreDirPropChanges: "false", - FilterChanglog: "false", + FilterChangelog: "false", WorkspaceUpdater: WorkspaceUpdater{Class: "hudson.scm.subversion.UpdateUpdater"}, }, Class: "hudson.scm.SubversionSCM", diff --git a/job.go b/job.go index ceb1255..db47a47 100644 --- a/job.go +++ b/job.go @@ -109,7 +109,7 @@ type ScmSvn struct { ExcludedCommitMessages string `xml:"excludedCommitMessages"` WorkspaceUpdater WorkspaceUpdater `xml:"workspaceUpdater"` IgnoreDirPropChanges string `xml:"ignoreDirPropChanges"` - FilterChanglog string `xml:"filterChangelog"` + FilterChangelog string `xml:"filterChangelog"` } type WorkspaceUpdater struct {