*Hi Reinhold, *
*thank you for your help!*
*pls see inline*
בתאריך יום חמישי, 8 באוגוסט 2019 בשעה 07:45:34 UTC+3, מאת Reinhold Füreder:
> Hi Amit,
>
>
>
> (a) in your code/screenshot example the problem:
>
> *to**: **'${GERRIT_CHANGE_OWNER_EMAIL}'**,*
>
> *[…]*
>
> *in the to: section i want t
Have you seen Generic Webhook Trigger
Plugin? https://github.com/jenkinsci/generic-webhook-trigger-plugin
Exact usage depends on what Git service you are using. If it is GitHub you
may have a look at this:
https://github.com/jenkinsci/generic-webhook-trigger-plugin/blob/master/src/test/resources
Not sure if this helps, but: I needed to share code between Pipeline and
Job DSL and I solved it by using Job DSL from Pipeline. I found that easy
because using shared library in Pipeline is well documented.
Something like:
...
stage("Create jobs") {
jobDsl targets: 'work/jobs/*.groovy