Thanks Vincent for the prompt reply.
You mean to say that an existing installed plugin cannot not be installed 
dynamically with a newer version.
As noticed if I uninstall an existing plugin and then installing a new 
version of the plugin works.

Thanks
Mohan

On Monday, August 26, 2013 12:52:35 PM UTC+5:30, Vincent Latombe wrote:
>
> Hi,
>
> upgrading a plugin dynamically is not supported. What is supported is 
> installation of a new plugin dynamically.
>
> Vincent
>
>
> 2013/8/26 mohan kumar Muddana <[email protected] <javascript:>>
>
>> Hi,
>>
>> I have developed a plugin with Jenkins parent version as 1.428.
>> It runs on that version properly as well as dynamically able to install 
>> newer version of .hpi (plugin).
>>
>> However when I am trying to install the same on latest Jenkins server - 
>> 1.528, it fails to dynamically load newer version.
>> I have build the plugin mentioning the Jenkins parent version 
>> accordingly. 
>> Following is the exception
>>
>> hudson.util.IOException2: Failed to dynamically deploy this plugin
>>          at 
>> hudson.model.UpdateCenter$InstallationJob._run(UpdateCenter.java:1313)
>>          at 
>> hudson.model.UpdateCenter$DownloadJob.run(UpdateCenter.java:1112)
>>          at java.util.concurrent.Executors$RunnableAdapter.call(Unknown 
>> Source)
>>          at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
>>          at java.util.concurrent.FutureTask.run(Unknown Source)
>>          at 
>> hudson.remoting.AtmostOneThreadExecutor$Worker.run(AtmostOneThreadExecutor.java:104)
>>          at java.lang.Thread.run(Unknown Source)
>> Caused by: java.nio.file.FileSystemException: C:\Program 
>> Files\Jenkins\plugins\MobileCloudPlugin\WEB-INF\lib\bsh-2.0b4.jar: The 
>> process cannot access the file because it is being used by another process.
>>
>> If I remove the beanshell dependency it gives same exception with 
>> classes.jar.
>> Please let me know what I am missing, or any particular information 
>> needed.
>>
>> Thanks in advance.
>> Mohan
>>           
>>
>> -- 
>> 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] <javascript:>.
>> 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