我在WebLogic 12c上运行Jenkins 1.613,在JBoss EAP 6.3上运行.我设法让Jenkins的email-ext插件在JBoss上运行.但是,每当我使用诸如$ PROJECT_NAME之类的令牌时,电子邮件扩展插件在WebLogic上失败(在JBoss上完全正常,我应该再次强调).
我得到以下stacktrace,这似乎表明tokenmacro插件存在一些问题.
java.lang.LinkageError: loader constraint violation: when resolving method
"com.google.common.collect.Multimaps.newListMultimap( java/util/Map; com/google/common/base/Supplier;) com/google/common/collect/ListMultimap;"
the class loader (instance of hudson/ClassicPluginStrategy$AntClassLoader2) of the current class, org/jenkinsci/plugins/tokenmacro/Tokenizer,
and the class loader (instance of sun/misc/Launcher$AppClassLoader) for resolved class, com/google/common/collect/Multimaps,
have different Class objects for the type ap; com/google/common/base/Supplier;) com/google/common/collect/ListMultimap; used in signature
at org.jenkinsci.plugins.tokenmacro.Tokenizer.find(Tokenizer.java:109)
at org.jenkinsci.plugins.tokenmacro.TokenMacro.expand(TokenMacro.java:167)
at org.jenkinsci.plugins.tokenmacro.TokenMacro.expandAll(TokenMacro.java:233)
at hudson.plugins.emailext.plugins.ContentBuilder.transformText(ContentBuilder.java:71)
at hudson.plugins.emailext.ExtendedEmailPublisher.setSubject(ExtendedEmailPublisher.java:659)
Run Code Online (Sandbox Code Playgroud)
问题:
可能有用的其他信息:
所以我试图在 PrestaShop 主题中修改 theme.yml 的布局。我注释掉以下内容:
hooks:
modules_to_hook:
displayFooter:
# - ps_linklist
# - ps_customeraccountlinks
- ps_contactinfo
Run Code Online (Sandbox Code Playgroud)
然后我保存并 FTP 文件。FTP 成功。
但是,链接列表和 customeraccountlinks 挂钩仍显示在客户端浏览器的页脚中。
我试图在客户端浏览器上强制刷新,同时清除后台的缓存。这些都不起作用。
我如何传播这个更新的 theme.yml ?