Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-42288

Expose LDAP custom attributes as (environment) variables

XMLWordPrintable

    • Icon: New Feature New Feature
    • Resolution: Unresolved
    • Icon: Minor Minor
    • ldap-plugin
    • None

      With ldap-plugin and build-user-vars-plugin we can get the jenkins user names and email from LDAP attributes, as environment variables (highly useful for Slack notifications for example).

      However, it would be even better to be able to expose any custom LDAP attribute as environment variables (the list of LDAP attributes and maybe also the mapping to env vars would be configurable).

      A use-case: If we store in LDAP the Slack username, we could then send the correct Slack username in the notification.

            Unassigned Unassigned
            trsystran Thomas Riccardi
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: