Skip to content

Commit

Permalink
Fix: Correct path for Jenkins settings files
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
eb-oss committed Nov 18, 2023
1 parent 44c6ad1 commit 10213c4
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion lftools/git/gerrit.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
8 changes: 8 additions & 0 deletions releasenotes/notes/fix-settings-path-3fd9856fcea1cb08.yaml
Original file line number Diff line number Diff line change
@@ -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.

0 comments on commit 10213c4

Please sign in to comment.