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

Enhance functionality to allow Editable Email Notification plugin to utilize Crowd2 plugin for group recipient lists

    Details

    • Similar Issues:

      Description

      Currently, we are utilizing the Crowd2 plugin capability for our global matrix-based security successfully against groups for authorization.

      It would be extremely helpful if an enhancement can be done to the Email plugin (editable preferred) to allow Crowd group recipients for our email triggers. These groups are already recognized and configured as mentioned for permissions.

      Please someone look into this or let me know if there is an alternate option of getting the users' email addresses from the Crowd group into email recipients.

      thanks

        Attachments

          Activity

          Hide
          slide_o_mix Alex Earl added a comment -

          Can you access the Crowd plugin API from a groovy script? If so, I think that would be the way I would recommend doing this. I don't think I will be adding an additional plugin dependency.

          Show
          slide_o_mix Alex Earl added a comment - Can you access the Crowd plugin API from a groovy script? If so, I think that would be the way I would recommend doing this. I don't think I will be adding an additional plugin dependency.
          Hide
          cvecchione chris vecchione added a comment -

          Alex,
          I didn't think of this - how can i access the crowd plugin objects?

          Show
          cvecchione chris vecchione added a comment - Alex, I didn't think of this - how can i access the crowd plugin objects?
          Hide
          slide_o_mix Alex Earl added a comment -

          If you can get at them via the Jenkins instance it should be pretty easy, I am not exactly sure how Crowd2 integrates, it looks like it has a security realm, so you may be able to use Jenkins.instance.securityRealm in a script to get the instance. I'd recommend playing around in the script console and see what you can get. Once you get access to the security realm it should be pretty easy to get groups and such.

          Show
          slide_o_mix Alex Earl added a comment - If you can get at them via the Jenkins instance it should be pretty easy, I am not exactly sure how Crowd2 integrates, it looks like it has a security realm, so you may be able to use Jenkins.instance.securityRealm in a script to get the instance. I'd recommend playing around in the script console and see what you can get. Once you get access to the security realm it should be pretty easy to get groups and such.
          Hide
          slide_o_mix Alex Earl added a comment -

          Won't add a dependency on the Crowd2 plugin. This should be doable via a groovy script.

          Show
          slide_o_mix Alex Earl added a comment - Won't add a dependency on the Crowd2 plugin. This should be doable via a groovy script.

            People

            • Assignee:
              t_heit Thorsten Heit
              Reporter:
              cvecchione chris vecchione
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: