Re: emailext using groovy-html.template with environment variables issue

2019-08-10 Thread amit r
*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

Re: Triggering pipeline builds when a commit is pushed to a branch or when a tag that matches a regex is pushed.

2019-08-10 Thread Tomas Bjerre
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

Re: Usage of Jenkins shared library in Job DSL

2019-08-10 Thread Tomas Bjerre
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