作者:清雅竹gf_644 | 来源:互联网 | 2022-12-26 12:44
我正在尝试整合Jenkins ver.2.89.4使用Gitlab 1.5.3
我已经输入了我的Gitlab主机URL和API令牌来访问Gitlab.但是,当我单击测试连接时,我得到以下异常跟踪:任何帮助将不胜感激.
java.util.NoSuchElementException: no client-builder found that supports server at https://gitlab.com/tom/abc.git
at com.dabsquared.gitlabjenkins.gitlab.api.impl.AutodetectingGitLabClient.autodetectOrDie(AutodetectingGitLabClient.java:271)
at org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:715)
Caused: javax.servlet.ServletException
at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:765)
at org.kohsuke.stapler.Stapler.invoke(Stapler.java:845)
at org.kohsuke.stapler.MetaClass$5.doDispatch(MetaClass.java:248)
at org.eclipse.jetty.util.thread.Invocable$InvocableExecutor.invoke(Invocable.java:222)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:294)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:199)
at winstone.BoundedExecutorService$1.run(BoundedExecutorService.java:77)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
olatom..
5
问题由根URL https://gitlab.com和API令牌解决:Jenkins>配置> GitLab连接> Gitlab主机URL Jenkins>配置> GitLab连接>凭据
我必须从GitLab repo站点创建一个API.通过以下方式应用于Jenkins:Jenkins>凭据>系统
1> olatom..:
问题由根URL https://gitlab.com和API令牌解决:Jenkins>配置> GitLab连接> Gitlab主机URL Jenkins>配置> GitLab连接>凭据
我必须从GitLab repo站点创建一个API.通过以下方式应用于Jenkins:Jenkins>凭据>系统