From 10213c451765902779107ba8a500f1674b4a5af2 Mon Sep 17 00:00:00 2001 From: Eric Ball Date: Fri, 17 Nov 2023 16:59:17 -0800 Subject: [PATCH] Fix: Correct path for Jenkins settings files The correct path should be "-settings", but was previously set to just "". This is causing problems in our JCASC and other automation. Issue: RELENG-4490 Change-Id: I7f526d82d550acc3021548ee642a0d3706783d9f Signed-off-by: Eric Ball --- lftools/git/gerrit.py | 2 +- releasenotes/notes/fix-settings-path-3fd9856fcea1cb08.yaml | 8 ++++++++ 2 files changed, 9 insertions(+), 1 deletion(-) create mode 100644 releasenotes/notes/fix-settings-path-3fd9856fcea1cb08.yaml 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 @@ class Gerrit: ) 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. -- 2.16.6