Created
November 17, 2016 14:36
-
-
Save blackpioter/4214f32272fbeb3ce1ca314ca457a940 to your computer and use it in GitHub Desktop.
Gradle sign RPM with GPG
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
def isJenkinsBuild = System.getenv("BUILD_NUMBER") ?: false | |
if(isJenkinsBuild) { | |
signingKeyId = System.getenv("signingKeyId") | |
signingKeyPassphrase = System.getenv("signingKeyPassphrase") | |
signingKeyRingFile = new File(System.properties['user.home'] + '/.gnupg/secring.gpg') | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment