From 90ab626b84f4377f4eaf6f253ed59f8712871565 Mon Sep 17 00:00:00 2001 From: Marc Philipp Date: Mon, 11 Sep 2023 09:51:23 +0200 Subject: [PATCH] Inject PGP signing key and passphrase via env var (#212) Signed-off-by: Marc Philipp --- .teamcity/settings.kts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/.teamcity/settings.kts b/.teamcity/settings.kts index 4d577051..36627f01 100644 --- a/.teamcity/settings.kts +++ b/.teamcity/settings.kts @@ -134,6 +134,8 @@ project { params { param("env.ORG_GRADLE_PROJECT_artifactoryUsername", "%artifactoryUsername%") param("env.ORG_GRADLE_PROJECT_artifactoryPassword", "%artifactoryPassword%") + password("env.PGP_SIGNING_KEY", "%pgpSigningKey%") + password("env.PGP_SIGNING_KEY_PASSPHRASE", "%pgpSigningPassphrase%") } steps { @@ -171,6 +173,8 @@ project { params { param("env.GRADLE_PUBLISH_KEY", "%development.plugin.portal.publish.key%") password("env.GRADLE_PUBLISH_SECRET", "%development.plugin.portal.publish.secret%", display = NORMAL) + password("env.PGP_SIGNING_KEY", "%pgpSigningKey%") + password("env.PGP_SIGNING_KEY_PASSPHRASE", "%pgpSigningPassphrase%") } steps { gradle { @@ -199,6 +203,8 @@ project { password("env.GRGIT_USER", "", label = "GitHub Access Token", display = PROMPT) param("env.GRADLE_PUBLISH_KEY", "%plugin.portal.publish.key%") password("env.GRADLE_PUBLISH_SECRET", "%plugin.portal.publish.secret%", display = NORMAL) + password("env.PGP_SIGNING_KEY", "%pgpSigningKey%") + password("env.PGP_SIGNING_KEY_PASSPHRASE", "%pgpSigningPassphrase%") } steps { gradle {