詹金斯没有触发工作

时间:2018-05-15 11:21:58

标签: jenkins jenkins-plugins jenkins-pipeline

我正面临着我的jenkins服务器的问题,我尝试在jenkins上安装slack插件,最后面临一些阻止我触发工作的问题。这是日志,任何人都可以告诉我可能出错的地方吗?

Started by user anonymous
Building in workspace /var/lib/jenkins/jobs/avanti-lms-specs/workspace
  FATAL: 
  jenkins.model.Jenkins.getActiveInstance()Ljenkins/model/Jenkins;
  java.lang.NoSuchMethodError: 
  jenkins.model.Jenkins.getActiveInstance()Ljenkins/model/Jenkins;
  at org.jenkinsci.plugins.displayurlapi.DisplayURLProvider.getRoot(DisplayURLProvider.java:44)
  at org.jenkinsci.plugins.displayurlapi.ClassicDisplayURLProvider.getJobURL(ClassicDisplayURLProvider.java:36)
  at org.jenkinsci.plugins.displayurlapi.DisplayURLProvider$DisplayURLProviderImpl.getJobURL(DisplayURLProvider.java:88)
  at org.jenkinsci.plugins.displayurlapi.EnvironmentContributorImpl.buildEnvironmentFor(EnvironmentContributorImpl.java:24)
  at hudson.model.Job.getEnvironment(Job.java:382)
  at hudson.model.AbstractProject.getEnvironment(AbstractProject.java:345)
  at hudson.model.Run.getEnvironment(Run.java:2248)
  at hudson.model.AbstractBuild.getEnvironment(AbstractBuild.java:905)
  at hudson.plugins.git.GitSCM.checkout(GitSCM.java:883)
  at hudson.model.AbstractProject.checkout(AbstractProject.java:1253)
  at hudson.model.AbstractBuild$AbstractBuildExecution.defaultCheckout(AbstractBuild.java:622)
  at jenkins.scm.SCMCheckoutStrategy.checkout(SCMCheckoutStrategy.java:86)
  at hudson.model.AbstractBuild$AbstractBuildExecution.run(AbstractBuild.java:528)
  at hudson.model.Run.execute(Run.java:1745)
  at hudson.model.FreeStyleBuild.run(FreeStyleBuild.java:43)
  at hudson.model.ResourceController.execute(ResourceController.java:89)
  at hudson.model.Executor.run(Executor.java:240)

0 个答案:

没有答案