Re: [Blue Ocean] Unknown java.lang.RuntimeException: java.lang.ClassNotFoundException

2017-07-22 Thread CrazyPotato
The following is the pom of my plugin.

http://maven.apache.org/POM/4.0.0"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
 xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 
http://maven.apache.org/xsd/maven-4.0.0.xsd";>

blueocean-parent
io.jenkins.blueocean
1.2.0-beta-2-SNAPSHOT

4.0.0

Gitlab Pipeline for Blue Ocean
blueocean-gitlab-pipeline
hpi

http://maven.apache.org


UTF-8





${project.groupId}
blueocean-pipeline-api-impl



org.gitlab4j
gitlab4j-api
4.4.1


org.jenkins-ci.plugins
pubsub-light


${project.groupId}
blueocean-git-pipeline


${project.groupId}
blueocean-github-pipeline


org.jenkins-ci.plugins
gitlab-plugin





在 2017年7月22日星期六 UTC+8下午8:16:24,Daniel Beck写道:
>
>
> > On 22. Jul 2017, at 13:39, CrazyPotato > 
> wrote: 
> > 
> > I  have searched  the plugins installed by hpi:run ,but did not find 
>  JerseyClientBuilder 
> > 
> > 在 2017年7月22日星期六 UTC+8上午1:57:04,Keith Zantow写道: 
> > AFAIK JerseyClientBuilder is not a BlueOcean dependency, maybe you have 
> some other plugin(s) misbehaving? 
> > 
> > On Fri, Jul 21, 2017 at 8:12 AM, 陈晓晖  wrote: 
> > Hi! 
> > 
> >  I am developing a plugin for jenkins/blue ocean  base on 
> jenkinsci/blueocean-plugin.  I introduce the  dependency 
>  gmessner/gitlab4j-api which contain 
> org.glassfish.jersey.core:jersey-client:jar:2.25.1. 
> > When I debug my code , the following code throw an exception: 
> > 
> > GitLabApi gitLabApi = new GitLabApi(GitLabApi.ApiVersion.V3, url, 
> accessToken); 
> > try{ 
> > gitLabApi.getGroupApi().getGroups(); 
> > . 
> > } 
> > 
>
> Could you show your code? Note that your plugin must bundle its transitive 
> library dependencies as needed. _Some_ plugins exist that provide a library 
> shared among other plugins, but those are the exception.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/039ad6f2-7933-4a6c-ab4e-317298fc5a8f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [Blue Ocean] Unknown java.lang.RuntimeException: java.lang.ClassNotFoundException

2017-07-22 Thread Daniel Beck

> On 22. Jul 2017, at 13:39, CrazyPotato  wrote:
> 
> I  have searched  the plugins installed by hpi:run ,but did not find  
> JerseyClientBuilder
> 
> 在 2017年7月22日星期六 UTC+8上午1:57:04,Keith Zantow写道:
> AFAIK JerseyClientBuilder is not a BlueOcean dependency, maybe you have some 
> other plugin(s) misbehaving?
> 
> On Fri, Jul 21, 2017 at 8:12 AM, 陈晓晖  wrote:
> Hi!
> 
>  I am developing a plugin for jenkins/blue ocean  base on 
> jenkinsci/blueocean-plugin.  I introduce the  dependency  
> gmessner/gitlab4j-api which contain 
> org.glassfish.jersey.core:jersey-client:jar:2.25.1. 
> When I debug my code , the following code throw an exception:
> 
> GitLabApi gitLabApi = new GitLabApi(GitLabApi.ApiVersion.V3, url, 
> accessToken);
> try{
> gitLabApi.getGroupApi().getGroups();
> .
> }
> 

Could you show your code? Note that your plugin must bundle its transitive 
library dependencies as needed. _Some_ plugins exist that provide a library 
shared among other plugins, but those are the exception.

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/DD96B785-849A-4D0F-9727-C317771DA94D%40beckweb.net.
For more options, visit https://groups.google.com/d/optout.


Re: [Blue Ocean] Unknown java.lang.RuntimeException: java.lang.ClassNotFoundException

2017-07-22 Thread CrazyPotato
I  have searched  the plugins installed by hpi:run ,but did not find  Je
rseyClientBuilder

在 2017年7月22日星期六 UTC+8上午1:57:04,Keith Zantow写道:
>
> AFAIK JerseyClientBuilder is not a BlueOcean dependency, maybe you have 
> some other plugin(s) misbehaving?
>
> On Fri, Jul 21, 2017 at 8:12 AM, 陈晓晖 > 
> wrote:
>
>> Hi!
>>
>>  I am developing a plugin for jenkins/blue ocean  base on jenkinsci 
>> /blueocean-plugin 
>> .  I introduce the 
>>  dependency  gmessner/*gitlab4j*-api 
>>  which contain 
>> org.glassfish.jersey.core:jersey-client:jar:2.25.1. 
>> When I debug my code , the following code throw an exception:
>>
>> GitLabApi gitLabApi = new GitLabApi(GitLabApi.ApiVersion.V3, url, 
 accessToken);
>>>
>>> try{
>>>
>>> gitLabApi.getGroupApi().getGroups();
>>>
>>> .
>>>
>>> }
>>>
>>>
>>  The attached stack trace :
>>
>> org.gitlab4j.api.GitLabApiException: java.lang.ClassNotFoundException: 
>> org.glassfish.jersey.client.JerseyClientBuilder
>> at org.gitlab4j.api.AbstractApi.handle(AbstractApi.java:304)
>> at org.gitlab4j.api.AbstractApi.get(AbstractApi.java:63)
>> at org.gitlab4j.api.GroupApi.getGroups(GroupApi.java:33)
>> at 
>> io.jenkins.blueocean.GitlabEnterpriseScm.validateAccessToken(GitlabEnterpriseScm.java:186)
>> at 
>> io.jenkins.blueocean.GitlabEnterpriseScm.validateAndCreate(GitlabEnterpriseScm.java:136)
>> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>> at 
>> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
>> at 
>> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
>> at java.lang.reflect.Method.invoke(Method.java:498)
>> at 
>> org.kohsuke.stapler.Function$InstanceFunction.invoke(Function.java:324)
>> at org.kohsuke.stapler.Function.bindAndInvoke(Function.java:167)
>> at 
>> org.kohsuke.stapler.SelectionInterceptedFunction$Adapter.invoke(SelectionInterceptedFunction.java:36)
>> at 
>> org.kohsuke.stapler.verb.HttpVerbInterceptor.invoke(HttpVerbInterceptor.java:48)
>> at 
>> org.kohsuke.stapler.SelectionInterceptedFunction.bindAndInvoke(SelectionInterceptedFunction.java:26)
>> at 
>> org.kohsuke.stapler.Function.bindAndInvokeAndServeResponse(Function.java:100)
>> at org.kohsuke.stapler.MetaClass$1.doDispatch(MetaClass.java:124)
>> at 
>> org.kohsuke.stapler.NameBasedDispatcher.dispatch(NameBasedDispatcher.java:58)
>> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>> at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
>> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>> at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
>> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>> at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
>> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>> at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
>> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>> at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
>> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:686)
>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>> at org.kohsuke.stapler.MetaClass$11.dispatch(MetaClass.java:380)
>> at org.kohsuke.stapler.Stapler.tryInvoke(Stapler.java:746)
>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:876)
>> at org.kohsuke.stapler.Stapler.invoke(Stapler.java:649)
>> at org.kohsuke.stapler.Stapler.service(Stapler.java:238)
>> at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
>> at 
>> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:812)
>> at 
>> org.eclipse.jetty.servlet.ServletHandler$CachedChain.doFilter(ServletHandler.java:1669)
>> at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:135)
>> at 
>> org.jenkinsci.plugins.ssegateway.Endpoint$SSEListenChannelFilter.doFilter(Endpoint.java:225)
>> at 
>> hudson.util.PluginServletFilter$1.doFilter(PluginServletFilter.java:132)
>> at 
>> io.jenkins.blueocean.auth.jwt.impl.JwtAuthenticationFilter.doFilter(JwtAuthenticationFilter.java:51)
>> a

Request to join the Jenkins Security Team

2017-07-22 Thread 'Bruno P. Kinoshita' via Jenkins Developers
Hi,
I would like to request to be added to the Jenkins Security Team. My main 
interest is in helping to fix issues in any dependency of the plug-ins I 
maintain, as well as in the core. Right now Scriptler is a plug-in I would like 
to try and see if I could help, as it is blocking active-choices-plugin.
GitHub with 2FA enabled: kinowCLA: 
https://github.com/jenkinsci/infra-cla/pull/48FreeNode user: kinow
Thank youBruno

-- 
You received this message because you are subscribed to the Google Groups 
"Jenkins Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jenkinsci-dev+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/1708666797.3173034.1500716039118%40mail.yahoo.com.
For more options, visit https://groups.google.com/d/optout.