Package hudson.plugins.emailext.plugins.content

Examples of hudson.plugins.emailext.plugins.content.JellyScriptContent


        String result;
       
        try {
            AbstractBuild<?,?> build = project.getBuild(buildId);
            if(templateFile.endsWith(".jelly")) {
                JellyScriptContent jellyContent = new JellyScriptContent();
                jellyContent.template = templateFile;
                result = jellyContent.evaluate(build, TaskListener.NULL, "JELLY_SCRIPT");
            } else {
                ScriptContent scriptContent = new ScriptContent();
                scriptContent.template = templateFile;               
                result = scriptContent.evaluate(build, TaskListener.NULL, "SCRIPT");
            }
View Full Code Here

TOP

Related Classes of hudson.plugins.emailext.plugins.content.JellyScriptContent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.