environment {
GNUPGHOME = "${WORKSPACE}/.gnupg"
+
+ // Our signing key
+ GPG_KEY_ID = "E4D20FA6FAA108D54ABDFC6541836ADF9D5E2AD9"
}
steps {
- // Import the GPG key
+ // Create the GPG stash directory
sh """
mkdir -p $GNUPGHOME
chmod 700 $GNUPGHOME
printenv
"""
+ // Import the GPG key
+ withCredentials([file(credentialsId: "${env.GPG_KEY_ID}", variable: "GPG_KEY_FILE")]) {
+ sh "gpg --import --batch < $GPG_KEY_FILE"
+ }
+
// Unstash all stashed packages from the matrix build
script {
for (distro in ["trixie", "bookworm"]) {
archiveArtifacts artifacts: "packages/debian/**/*"
// Fetch a Kerberos ticket
- sh "kinit -kV"
+ //sh "kinit -kV"
// XXX This needs to be published on a mirror server somewhere
}