Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-28202

groovy templates do not work after upgrading to 2.40

    Details

    • Similar Issues:

      Description

      we use many jobs sending email with groovy templates.
      after upgrading to 2.40 version of the plugin, we have this error (in the mail body):

      Groovy Template file [test.groovy] was not found in $JENKINS_HOME/email-templates.

      we have in the default content: ${SCRIPT, template="test.groovy"}

        Attachments

        1. jenkins_home_cfg.png
          jenkins_home_cfg.png
          24 kB
        2. mail_result.png
          mail_result.png
          11 kB
        3. screenshot-1.png
          screenshot-1.png
          35 kB
        4. screenshot-2.png
          screenshot-2.png
          39 kB
        5. screenshot-3.png
          screenshot-3.png
          25 kB

          Issue Links

            Activity

            Hide
            slide_o_mix Alex Earl added a comment -

            In the subject you list 2.40, but in the comment you only list 2.39. Which version are you actually using?

            Show
            slide_o_mix Alex Earl added a comment - In the subject you list 2.40, but in the comment you only list 2.39. Which version are you actually using?
            Hide
            raphael_unique Raphaël UNIQUE added a comment -

            sory, i was cloning an existing a previous issue.
            all is now up to date

            Show
            raphael_unique Raphaël UNIQUE added a comment - sory, i was cloning an existing a previous issue. all is now up to date
            Hide
            slide_o_mix Alex Earl added a comment -

            Can you verify the value of JENKINS_HOME?

            Show
            slide_o_mix Alex Earl added a comment - Can you verify the value of JENKINS_HOME?
            Hide
            raphael_unique Raphaël UNIQUE added a comment -

            verified: screenshot-3.png
            JENKINS_HOME=/appli/jenkins

            Show
            raphael_unique Raphaël UNIQUE added a comment - verified: screenshot-3.png JENKINS_HOME=/appli/jenkins
            Hide
            scm_issue_link SCM/JIRA link daemon added a comment -

            Code changed in jenkins
            User: Alex Earl
            Path:
            src/main/java/hudson/plugins/emailext/plugins/content/AbstractEvalContent.java
            http://jenkins-ci.org/commit/email-ext-plugin/d5af533cb9ccb1d91be01d76738263fd6b4f24df
            Log:
            Fix JENKINS-28202

            Fixed check for file extension

            Show
            scm_issue_link SCM/JIRA link daemon added a comment - Code changed in jenkins User: Alex Earl Path: src/main/java/hudson/plugins/emailext/plugins/content/AbstractEvalContent.java http://jenkins-ci.org/commit/email-ext-plugin/d5af533cb9ccb1d91be01d76738263fd6b4f24df Log: Fix JENKINS-28202 Fixed check for file extension
            Hide
            slide_o_mix Alex Earl added a comment -

            Fixed issue with check for file extension.

            Show
            slide_o_mix Alex Earl added a comment - Fixed issue with check for file extension.
            Hide
            jstarbird Jon Starbird added a comment - - edited

            When Jenkins-28202 was fixed for Groovy it seems to have broken Jelly. See Jenkins-28357 for the Jelly bug.

            Show
            jstarbird Jon Starbird added a comment - - edited When Jenkins-28202 was fixed for Groovy it seems to have broken Jelly. See Jenkins-28357 for the Jelly bug.

              People

              • Assignee:
                slide_o_mix Alex Earl
                Reporter:
                raphael_unique Raphaël UNIQUE
              • Votes:
                0 Vote for this issue
                Watchers:
                4 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: