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

Cannot use Jelly Template after recent 2.40 fix

    XMLWordPrintable

Details

    • Bug
    • Status: Resolved (View Workflow)
    • Major
    • Resolution: Fixed
    • email-ext-plugin
    • None
    • Jenkins LTS 1.596.2, Plugin 2.40.1

    Description

      When using ${JELLY_SCRIPT,template="mod1.template"} I get the error that was reported about Groovy scripts for Jenkins-28202, Jelly file [mod1.template] was not found in $JENKINS_HOME/email-templates

      Nothing was changed in my environment and the file was used fine before. The file does exist and has the full filename of mod1.template.jelly but now it won't work.
      Doing a Test email and putting the full filename there it does find it in the correct location it is only when a build fires it off that this is failing.

      Attachments

        1. email-ext.jpi
          5.94 MB
        2. email-ext.hpi
          5.94 MB

        Issue Links

          Activity

            slide_o_mix Alex Earl added a comment -

            Great, I'll be releasing a 2.40.3 soon if I can get another fix checked.

            slide_o_mix Alex Earl added a comment - Great, I'll be releasing a 2.40.3 soon if I can get another fix checked.

            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/f72f226f83ffe6f06e38de00829b1db6e093af61
            Log:
            Fix JENKINS-28357

            If template doesn't exist, try with extension added.

            Compare: https://github.com/jenkinsci/email-ext-plugin/compare/2b0a93e32399...f72f226f83ff

            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/f72f226f83ffe6f06e38de00829b1db6e093af61 Log: Fix JENKINS-28357 If template doesn't exist, try with extension added. Compare: https://github.com/jenkinsci/email-ext-plugin/compare/2b0a93e32399...f72f226f83ff
            jstarbird Jon Starbird added a comment -

            btw Alex, huge thanks for jumping on this so quick! Great to see folks respond quickly to these open source projects, not all do.
            I know initially this was marked as a blocker issue but you kept at it even once a work around was achieved. So thanks for doing that.

            jstarbird Jon Starbird added a comment - btw Alex, huge thanks for jumping on this so quick! Great to see folks respond quickly to these open source projects, not all do. I know initially this was marked as a blocker issue but you kept at it even once a work around was achieved. So thanks for doing that.
            slide_o_mix Alex Earl added a comment -

            Glad to help!

            slide_o_mix Alex Earl added a comment - Glad to help!
            slide_o_mix Alex Earl added a comment -

            Resolved with 2.40.3

            slide_o_mix Alex Earl added a comment - Resolved with 2.40.3

            People

              slide_o_mix Alex Earl
              jstarbird Jon Starbird
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: