If you install via advanced - upload plugin, then it won't install 
dependencies. It will tell you what is needed though. 

If you have published it to an update center and installed it via one - it 
WILL bring dependencies. 

You can also install it via 
CLI: 
http://jenkins-ci.361315.n4.nabble.com/Installing-Jenkins-plugins-via-API-td4639021.html
 

http://stackoverflow.com/questions/7709993/how-can-i-update-jenkins-plugins-from-the-terminal

the "installNecessaryPlugins" feature may be able to help automate the 
dependencies. 





On Thursday, March 24, 2016 at 10:53:28 AM UTC+11, [email protected] 
wrote:
>
> My plugin depends on the mailer plugin (set up as described here 
> https://wiki.jenkins-ci.org/display/JENKINS/Dependencies+among+plugins). 
>  The plugin works, but when I install it it doesn't try and install it's 
> dependencies. 
>
> I hoped that Jenkins would handle installing the dependencies as long as 
> they are listed in my plugin manifest.  For example, the git plugin 
> installs icon-shim and other dependencies when it is installed. 
>
> I suspect that I need to write the code to manage installing my 
> dependencies.  Can someone point me to some example code to get me started. 
>  I searched the git plugin project looking for something that installed 
> other plugins but couldn't find it.
>
> Thanks
> George
>
>
>

-- 
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].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jenkinsci-dev/f7306873-14fd-4c89-b0ed-4c02cd4ac5ab%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to