Hi Han,
It was very kind of you to reply and mention about the issue and solution.
We found out that classes.jar was missing when the plugin is exploded
during its installation. However we have another issue right now is our
clients are using the plugin within Proxy server for which it is unable to
connect to a service endpoint outside.

Thanks anyway
Mohan



On Wed, Nov 20, 2013 at 8:46 PM, Han Qin <[email protected]> wrote:

> hello,
>
> We met similar issue, have you checked the JDK version where you build the
> hpi and also the JDK version of your jenkins env.
>
> Just to clarify, we built the hpi with JDK7 and found installation of the
> plugin failed on a jenkins server with JDK6.
>
> hope this helps.
>
>
> On Thursday, October 3, 2013 3:12:01 PM UTC+8, mohan kumar Muddana wrote:
>>
>> Hi,
>> Even if we don't skip tests and hand over the package (hpi) as it is,
>> still gives the exception while installation of the plugin.
>>
>> hudson.ExtensionFinder$Sezpoz scout
>> WARNING: Failed to scout com.mobilecloud.project.MobileCloudProject
>> java.lang.InstantiationException: file:/N:/Jenkins/plugins/
>> mobilecloud/WEB-INF/classes/META-INF/annotations/hudson.Extension might
>> need to be rebuilt:
>>
>> Quite not sure whether existing plugins causing it or any other plugin
>> needs to be installed.
>> Any pointers will be highly appreciated.
>>
>> Thanks
>> Mohan
>>
>>
>>
>> On Wednesday, September 18, 2013 12:08:43 PM UTC+5:30, Baptiste Mathus
>> wrote:
>>>
>>>
>>> Le 17 sept. 2013 09:32, "mohan kumar Muddana" <[email protected]> a
>>> écrit :
>>> >
>>> > I assume the following commands will try to resolve, but not quite
>>> confident.
>>> >
>>> > mvn clean compile
>>>
>>> Useless. Next command you give already includes the compilation phase.
>>>
>>> > mvn clean -DskipTests=true package
>>>
>>> Again, why would you skip the tests of your plugin?
>>>
>>> >
>>> > Also a failed/older plugin installation leaves the .jpi  file as well
>>> exploded folder as it is.
>>> > So, deleting these older ones might also help it seems.
>>> >
>>> > What do you say?
>>> >
>>> > Thanks
>>> > Mohan
>>> >
>>> > On Tuesday, September 17, 2013 3:50:12 AM UTC+5:30, Jesse Glick wrote:
>>> >>
>>> >> On Mon, Sep 16, 2013 at 5:20 PM, evernat <[email protected]> wrote:
>>> >> > It's WEB-INF/lib/classes.jar and they are now created in Jenkins
>>> for each
>>> >> > plugin, to be remoting friendly.
>>> >>
>>> >> So that is a possible explanation for the bug: the repacking might
>>> >> produce different content somehow.
>>> >
>>>
>>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Jenkins Developers" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/jenkinsci-dev/za3PR_2KFTo/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>

-- 
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 [email protected].
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to