From ae6ce55ae270051af0b8ddfaab1e56c89925da5c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Ho=C3=9F?= Date: Sat, 18 Feb 2017 23:01:59 +0100 Subject: [PATCH] add prefix for secret key location MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- build/jenkins/Release | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/jenkins/Release b/build/jenkins/Release index 4cb82a4..f8ca61f 100644 --- a/build/jenkins/Release +++ b/build/jenkins/Release @@ -26,7 +26,7 @@ node { mavenSettingsConfig: 'repository.metio.wtf', mavenLocalRepo: '.repository') { try { - sh("mvn clean pgp:sign deploy scm:tag -Drelease=sonatype -DpushChanges=false -Dpgp.secretKey=${PGP_KEY} -Dpgp.passphrase=literal:'${PGP_PASSPHRASE}'") + sh("mvn clean pgp:sign deploy scm:tag -Drelease=sonatype -DpushChanges=false -Dpgp.secretKey=keyfile:${PGP_KEY} -Dpgp.passphrase=literal:'${PGP_PASSPHRASE}'") } catch (exception) { currentBuild.result = 'FAILURE' } -- 2.11.4.GIT