Skip to content
This repository has been archived by the owner on Sep 18, 2021. It is now read-only.

Configuring Secrets, Keytabs, and Keys

Jeremy Poulin edited this page Apr 20, 2018 · 4 revisions

As of version v0.4, we've removed the parameters for overriding ssh keys, keytabs, and the credentials that cinch uses to connect the slave. This was done to remove some of the clutter from the params section, so that we could present as simple a Jenkinsfile as possible. If the defaults are not sufficient for you project, you can override these just as you did in versions prior. Here is the snipped for that configuration.

string(
  defaultValue: 'redhat-multiarch-qe-sshprivkey',
  description: 'SSH private key Jenkins credential ID for Beaker/SSH operations.',
  name: 'SSHPRIVKEYCREDENTIALID'
),
string(
  defaultValue: 'redhat-multiarch-qe-sshpubkey',
  description: 'SSH public key Jenkins credential ID for Beaker/SSH operations.',
  name: 'SSHPUBKEYCREDENTIALID'
),
string(
  defaultValue: 'redhat-multiarch-qe-keytab',
  description: 'Kerberos keytab file Jenkins credential ID for Beaker/SSH operations.',
  name: 'KEYTABID'
),
string(
  defaultValue: 'jenkins-slave-credentials',
  description: 'Jenkins slave credential ID for connecting slaves using cinch via JSwarm.',
  name: 'JENKINSSLAVECREDENTIALID'
),