Skip to content

Commit

Permalink
Use in-memory ascii-armored keys instead of using the gpg agent
Browse files Browse the repository at this point in the history
Follow up of #85.

This setup was successfully tested on a jenkins slave with the
required environment variables set.
seut committed Jun 28, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
1 parent d1d7b8e commit 9079969
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -128,6 +128,8 @@ nexusPublishing {
}

signing {
useGpgCmd()
def signingKey = findProperty("signingKey")
def signingPassword = findProperty("signingPassword")
useInMemoryPgpKeys(signingKey, signingPassword)
sign(publishing.publications)
}

0 comments on commit 9079969

Please sign in to comment.