[JIRA] (JENKINS-41210) Cannot define custom email body

2017-02-17 Thread r.fuere...@xortex.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Reinhold Füreder resolved as Not A Defect  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 I dare to resolve this issue as the issue reporter is seemingly happily using it already, cf. his comment "It now works as expected."  
 

  
 
 
 
 

 
 Jenkins /  JENKINS-41210  
 
 
  Cannot define custom email body   
 

  
 
 
 
 

 
Change By: 
 Reinhold Füreder  
 
 
Status: 
 Open Resolved  
 
 
Resolution: 
 Not A Defect  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to 

[JIRA] (JENKINS-41210) Cannot define custom email body

2017-01-31 Thread rando...@siteaboutnothing.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Random Je commented on  JENKINS-41210  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot define custom email body   
 

  
 
 
 
 

 
 Right, that makes sense. I guess I misunderstood the form. It now works as expected. The "Content Token Reference" is a little hard to find. Thanks!  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41210) Cannot define custom email body

2017-01-27 Thread slide.o....@gmail.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Alex Earl commented on  JENKINS-41210  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
  Re: Cannot define custom email body   
 

  
 
 
 
 

 
 You don't put the \${SCRIPT} token in the pre-send script. The pre-send script is for running operations that would allow you to modify the message before it is sent, or cancel sending the message. You put the content you want in the email in the "Default Content" or in the Content for a specific trigger. There are help buttons next to all the fields that will give you information on how to use them.  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 

 
   
 

  
 

  
 

   





-- 
You received this message because you are subscribed to the Google Groups "Jenkins Issues" group.
To unsubscribe from this group and stop receiving emails from it, send an email to jenkinsci-issues+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[JIRA] (JENKINS-41210) Cannot define custom email body

2017-01-19 Thread rando...@siteaboutnothing.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Random Je updated an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41210  
 
 
  Cannot define custom email body   
 

  
 
 
 
 

 
Change By: 
 Random Je  
 

  
 
 
 
 

 
 I have read [the documentation|https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin] but cannot understand how to customize the email body. I am an experienced Perl software developer, but I have no experience of jelly or groovy. I understand the principle but the instructions are lacking in detail. I have read [the documentation|https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin] but cannot understand how to customize the email body. I am an experienced Perl software developer, but I have no experience of jelly or groovy. I understand the principle but the instructions are lacking in detail. What I've tried:In the "Pre-send Script" field I have put: ${SCRIPT,template="hello.groovy"}In the file /var/jenkins_home/email-templates/hello.groovy I have put:<%println "Hello world!"%>When I test this in the "Email Template Testing" page, I get the result: Hello world!But when I try it in a real job, I get the error below in the console:org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed:Script1.groovy: 1: unexpected token: world @ line 1, column 7.Hello world! ^1 error(stack trace snipped)Could a minimal "hello world" script be provided which demonstrates how to define an email body?  
 

  
 
 
 
 

 
 
 

 
 
 Add Comment  
 

  
 

  
 
 
 
  
 

  
 
 
 
 

 
 This message was sent by Atlassian JIRA (v7.1.7#71011-sha1:2526d7c)  
 
 
 

[JIRA] (JENKINS-41210) Cannot define custom email body

2017-01-19 Thread rando...@siteaboutnothing.com (JIRA)
Title: Message Title


 
 
 
 

 
 
 

 
   
 Random Je created an issue  
 

  
 
 
 
 

 
 
  
 
 
 
 

 
 Jenkins /  JENKINS-41210  
 
 
  Cannot define custom email body   
 

  
 
 
 
 

 
Issue Type: 
  Bug  
 
 
Assignee: 
 David van Laatum  
 
 
Components: 
 email-ext-plugin  
 
 
Created: 
 2017/Jan/19 10:33 AM  
 
 
Environment: 
 Jenkins ver. 1.642.2, Email Extension Plugin v2.53   
 
 
Priority: 
  Blocker  
 
 
Reporter: 
 Random Je  
 

  
 
 
 
 

 
 I have read the documentation but cannot understand how to customize the email body. I am an experienced Perl software developer, but I have no experience of jelly or groovy. I understand the principle but the instructions are lacking in detail. I have read the documentation but cannot understand how to customize the email body. I am an experienced Perl software developer, but I have no experience of jelly or groovy. I understand the principle but the instructions are lacking in detail. What I've tried: In the "Pre-send Script" field I have put: $ {SCRIPT,template="hello.groovy"} In the file /var/jenkins_home/email-templates/hello.groovy I have put: <% println "Hello world!" %> When I test this in the "Email Template Testing" page, I get the result: Hello world! But when I try it in a real job, I get the error below in the console: org.codehaus.groovy.control.MultipleCompilationErrorsException: startup failed: Script1.groovy: 1: unexpected token: world @ line 1, column 7. Hello world! ^ 1 error (stack trace snipped) Could a minimal "hello world" script be provided which demonstrates how to define an email body?