Skip to content

Commit

Permalink
feat: add attribut mountPrivateKey
Browse files Browse the repository at this point in the history
Signed-off-by: sebastien.heurtematte <sebastien.heurtematte@eclipse-foundation.org>
  • Loading branch information
heurtematte committed Nov 7, 2024
1 parent ee95e86 commit 3d7f3cf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/config.libsonnet
Original file line number Diff line number Diff line change
Expand Up @@ -206,7 +206,7 @@ local clouds = import "clouds.libsonnet";
}
},
secrets: (
if std.member($.jenkins.plugins, "gerrit-trigger") then {
if std.member($.jenkins.plugins, "gerrit-trigger") || $.jenkins.mountPrivateKey then {
"gerrit-trigger-plugin": {
username: "genie." + $.project.shortName,
identityFile: "/run/secrets/jenkins/ssh/id_rsa",
Expand Down

0 comments on commit 3d7f3cf

Please sign in to comment.