Email-ext plugin and Pre-send Script variables

2018-03-15 Thread danny
Hi, I can't seems to figure out how can I use variables I set during the build in pre-send section of Email-ext. My pipeline script looks like - node { FROM = 'AAA ' emailext( to: "m...@email.com", presendScript: '''msg.setHeader("From", FROM);''', subject: "test"

Blue Ocean doesn't add GitHub webhooks when creating a new pipeline

2018-03-15 Thread Sven Grunewaldt
When I create a new Pipeline with Blue Ocean via GitHub I expected webhooks to appear in the repository, but they only get created when I manually click on "Re-register hooks for all jobs" in the system configuration. Some issue comments stated that the pipeline needs to run once, then the webh

Re: Email-ext plugin and Pre-send Script variables

2018-03-15 Thread Victor Martinez
Have you tried with double quote multistring and also the $ variable? node { FROM = 'AAA ' emailext( to: "m...@email.com", presendScript: """msg.setHeader("From", ${FROM});""", subject: "test", mimeType: 'text/html', body: "content" ) } -- You

Re: Email-ext plugin and Pre-send Script variables

2018-03-15 Thread danny
Victor, I thank you for the heads up, this actually worked! On Thursday, March 15, 2018 at 2:06:52 PM UTC+2, Victor Martinez wrote: > > Have you tried with double quote multistring and also the $ variable? > > node { > FROM = 'AAA ' > emailext( > to: "m...@email.com", > pr

Re: Kubernetes plugin cloud not found error

2018-03-15 Thread Carlos Sanchez
You need to use "add cloud" in jenkins configuration On Wed, Mar 14, 2018, 06:38 Prasanna Ranganathan wrote: > Hi, > > I was trying the kubernetes plugin. I installed and configured the > kubernetes setup connection test was successfull. > and tried the below code. > > def label = "mypod-${UUID.

docker image retention (built via dockerfiles)

2018-03-15 Thread Lukas Winkler
Hi, I want to setup a jenkinsfile building a git project and running tests in various environments, preferably docker (multiple gcc versions, clang, ...). My approach was to simply setup agents and connect them via ssh and install docker on them. The jenkinsfile will have a parallel section li

Re: Serialization error moving @NonCPS method from pipeline script to shared library

2018-03-15 Thread Martín Pianello
Hi David, A year later, you may have solved the issue or switched to a different solution altogether. Anyway, I stumbled across the same issue and coudn't find a definitive solution. So, after some trial & error, I wanted to post how I solved this. I followed the project structure proposed i

Re: Serialization error moving @NonCPS method from pipeline script to shared library

2018-03-15 Thread David Karr
Thanks for the update. I don't even remember the specific problem I had, but my shared library is working fine, so I must have figured it out. :) On Thu, Mar 15, 2018 at 1:24 PM, Martín Pianello wrote: > Hi David, > > > A year later, you may have solved the issue or switched to a different > sol

Publish HTML page at the end of the job.

2018-03-15 Thread c . alex . roeber
I have a job that launched by a URL link in an email. Use case is a job that will start, stop or pause the next build step. When the link is used it take the user to the page starts the job, when the job runs and finishes it is just a blank page. I would like to have the job end with a success p

[Even:Jenkins World 2018] CFP Update

2018-03-15 Thread Alyssa Tong
Hello, A few updates to Jenkins World 2018: - Jenkins World SF CFP has been extended to April 1, 2018 - Jenkins World EU CFP has been extended to April 15, 2018 - Jenkins

Re: Publish HTML page at the end of the job.

2018-03-15 Thread chicago
An easy thing to do would be to create and rsync a uuid.html to an existing web server to which Jenkins has access to. Downside is you'd need yet another server. Thoughts? -- You received this message because you are subscribed to the Google Groups "Jenkins Users" group. To unsubscribe from