jenkins:使用git插件,系统错误'java.lang.NoSuchMethodError:'

时间:2017-06-27 09:55:23

标签: jenkins

我已下载Credentials插件并在Credentials模块中添加了Credentials。

credentials screenshot

error message screenshot

系统错误

  

javax.servlet.ServletException:java.lang.NoSuchMethodError:com.cloudbees.plugins.credentials.CredentialsProvider.track(Lhudson / model / Item; Lcom / cloudbees / plugins / credentials / Credentials;)Lcom / cloudbees / plugins /凭证/凭证;

1 个答案:

答案 0 :(得分:0)

防止将SecurityContext设置为null

https://github.com/jenkinsci/credentials-plugin/commit/b0f83a77d238775f709f5bda7a526ecd56e7d9af这可能会对你有所帮助!