-
New Feature
-
Resolution: Unresolved
-
Major
-
None
It seems that the Ownership plugin does not expose a RecipientProvider based class that can be used by the emailext plugin in order to send emails.
See https://github.com/jenkinsci/email-ext-plugin
Most of Jenkins plugins do expose these.
One this class (OwnershipRecipientProvider) is added and exposed it should also be documented in the pipeline usage documentation page.
- relates to
-
JENKINS-20182 Add API for easy getting of ownership info from Groovy scripts
-
- Open
-
[JENKINS-46790] ownership-plugin does not expose a RecipientProvider for ownership
Description |
Original:
It seems that the Ownership plugin does not expose a RecipientProvider based class that can be used by the emailext plugin in order to send emails. See https://github.com/jenkinsci/email-ext-plugin Most of Jenkins plugins do expose these. One this class is exposed it should also be documented in the pipeline usage documentation page. |
New:
It seems that the Ownership plugin does not expose a RecipientProvider based class that can be used by the emailext plugin in order to send emails. See [https://github.com/jenkinsci/email-ext-plugin] Most of Jenkins plugins do expose these. One this class (OwnershipRecipientProvider) is added and exposed it should also be documented in the pipeline usage documentation page. |
Issue Type | Original: Bug [ 1 ] | New: New Feature [ 2 ] |
Labels | New: mail newbie-friendly |
Link | New: This issue relates to JENKINS-20182 [ JENKINS-20182 ] |
Assignee | Original: Oleg Nenashev [ oleg_nenashev ] |
Assignee | New: Anika [ anikashenoy ] |
It is a new feature request, not a defect. But I agree it would be useful.I have no time to implement this feature in short-term, but I will be happy to review the pull-request if you have time to work on it. It should be pretty trivial to implement.
Right now you can use Ownership Token Macros to set recipients in classic project types and "ownership" global variable in Jenkins Pipeline. Output of OWNERSHIP Token Macro output format has been specifically developed for Mail Ext.