diff --git a/lftools/git/gerrit.py b/lftools/git/gerrit.py index 0bc8a314..6df52a6d 100644 --- a/lftools/git/gerrit.py +++ b/lftools/git/gerrit.py @@ -260,7 +260,7 @@ def add_maven_config(self, fqdn, gerrit_project, issue_id, nexus3_url="", nexus3 ) log.debug("config-params.yaml contents:\n{}".format(server_creds_content)) - config_path = "jenkins-config/managed-config-files/mavenSettings/{}".format(project_dashed) + config_path = "jenkins-config/managed-config-files/mavenSettings/{}-settings".format(project_dashed) try: os.makedirs(config_path) except FileExistsError: diff --git a/releasenotes/notes/fix-settings-path-3fd9856fcea1cb08.yaml b/releasenotes/notes/fix-settings-path-3fd9856fcea1cb08.yaml new file mode 100644 index 00000000..184b648e --- /dev/null +++ b/releasenotes/notes/fix-settings-path-3fd9856fcea1cb08.yaml @@ -0,0 +1,8 @@ +--- +fixes: + - | + Correct path for Jenkins settings files. + + The correct path should be "-settings", but was previously set + to just "". This was causing problems in our JCASC and other + automation.