Fix: Correct path for Jenkins settings files 00/72400/1
authorEric Ball <eball@linuxfoundation.org>
Sat, 18 Nov 2023 00:59:17 +0000 (16:59 -0800)
committerEric Ball <eball@linuxfoundation.org>
Sat, 18 Nov 2023 01:04:51 +0000 (17:04 -0800)
The correct path should be "<repo>-settings", but was previously set
to just "<repo>". This is causing problems in our JCASC and other
automation.

Issue: RELENG-4490
Change-Id: I7f526d82d550acc3021548ee642a0d3706783d9f
Signed-off-by: Eric Ball <eball@linuxfoundation.org>
lftools/git/gerrit.py
releasenotes/notes/fix-settings-path-3fd9856fcea1cb08.yaml [new file with mode: 0644]

index 0bc8a31..6df52a6 100644 (file)
@@ -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 (file)
index 0000000..184b648
--- /dev/null
@@ -0,0 +1,8 @@
+---
+fixes:
+  - |
+    Correct path for Jenkins settings files.
+
+    The correct path should be "<repo>-settings", but was previously set
+    to just "<repo>". This was causing problems in our JCASC and other
+    automation.