Hudson plugin installation - hudson

I am trying to install M2release plugin in Hudson.
I cannot install plugin using Hudson plugin update page due to lack of proxy settings. So i downloaded hpi file and used upload plugin option to deploy it.
Now Hudson home[directory] is showing the plugin inside plugin directory but i can't see the plugin in list of installed plugins on Hudson UI also plugin is not available on job configuration page. I hvae already bounced hudson server twice.
What am i missing here? Any additional steps are needed to install plugin manually?

Your steps seem fine.Since M2release plugin has moved to Jenkins now, so make sure you downloaded the compatible version with Hudson.

Related

What does this Cordova registry warning mean in the github facebook login plugin documentation?

After navigating to the github documentation for facebook from intel xdk plugin management section the second most prominent thing you see on the page is this.
<< --- Cordova Registry Warning [iOS]
Installing this plugin directly from Cordova Registry results in Xcode using a broken FacebookSDK.framework, this is because the current publish procedure to NPM breaks symlinks CB-6092. Please install the plugin through a locally cloned copy or re-add the FacebookSDK.framework to Xcode after installation.
------------------------------------------ >>
The link the the github page is here
https://github.com/Wizcorp/phonegap-facebook-plugin.
Can someone explain what this really means? It's already terribly confusing to get the basic fb login up and running on my mobile app, this warning is confusing the process for me even more as it assumes I know more than I do.
Can someone break this down in beginner terms? Thank you.
Problem
The FacebookSDK.framework will be delivered broken if you fetch it from NPM, because the publish procedure to NPM breaks symlinks. I can't tell you more then that.
Workaround
The workaround is cloning the repository of the plugin 'phonegap-facebook-plugin' with GIT and adding the plugin to your PhoneGap/Cordova project.
Enter the following command in your CMD or Terminal to clone the repository:
git clone https://github.com/Wizcorp/phonegap-facebook-plugin
Enter the following command in your CMD or Terminal to add the plugin to your PhoneGap/Cordova project:
cordova -d plugin add /path/to/cloned/phonegap-facebook-plugin --variable APP_ID="123456789" --variable APP_NAME="myApplication"
Solution
The developers of the plugin 'phonegap-facebook-plugin' have a solution for cordova > 4.0.0 in the develop branche of the plugin's repository.
More info for installing the plugin:
Android
iOS

Recompile java classes without restarting jetty

I am using the maven jetty plugin and starting the server from the console using:
mvn jetty:run
Is it possible to make jetty recompile my java classes whenever i change them in the file system?
It's kind of annoying to stop jetty, do mvn clean install and start jetty back again.
Fernando,
The best way to use this plugin is in conjunction with your IDE, which will normally do class recompiles in the background. If you configure your plugin with a non-zero <scanIntervalSeconds> parameter, the plugin will notice changed files and do an automatic redeploy.
Jan

Plugin Dependencies: how to uninstall plugin but leave its dependencies installed

My plugin has some dependencies and it automatically install these dependencies (other third party plugins) when I install my plugin.
When I uninstall my plugin, its dependencies are uninstalled as well.
As these other plugins may be useful to the user, is there any way to uninstall my plugin but leave these dependencies installed?
As far as I could investigate, if I install these other plugins before installing my plugin then they will remain there, but if I install them as dependencies they get ripped off.
If you installed the dependencies explicitly before installing your main plugin, then P2 treats them as installed by the user. In the dependency case, it treats them as installed by the system.
All plugins, which were installed by the system (not by the user), are automatically removed during an uninstallation, if there are no dependent plugins. At least that is what I remember from an EclipseCon presentation by the P2 guys.
That said, it is simply not your job to decide for the user. The user installes features. If those features are uninstalled, their plugins are gone. If the user still wants that functionality, he should install the features containing those plugins.
I'd suggest you disable the plugin instead of uninstalling it, if possible. The answer swimmingfisher provides to Temporarily Disable Eclipse Plugin tells you how to do it.

Hudson how to deploy multiple webapps?

I have install the Deploy Plugin on Hudson.
Is it possible to fill "Deploy war/ear to a container" field with two webapps. What is the convention ? Using ; or , or space?
Thanks.
According to the plugin documentation:
This plugin takes a war/ear file and deploys that to a running remote application server at the end of a build.
So it seems that it can't do more than one.

How do I uninstall a plugin from Jenkins (Hudson)?

I have a few plugins in my Jenkins installation which I no longer need. I've already disabled the plugins (and my build still work), and I'd like to remove the plugins completely. What is the right process for completely removing a Jenkins (Hudson) plugin?
As mentioned by Jesse Glick in his answer, if you are using Jenkins 1.487 or higher, then there is a native way to uninstall plugins in the Jenkins UI. See JENKINS-3070 for details.
If you are using a version of Jenkins earlier than 1.487, then you can try manually uninstalling the plugin. As some people point out in the comments, this may not work on some platforms (in those cases, upgrade to at least 1.487 so that you can use the official uninstall feature).
To manually uninstall a plugin, stop Hudson/Jenkins, go to your HUDSON_HOME/plugins directory and remove both the .hpi file and the folder with the same name. So, if you were going to remove the CVS plugin, you would remove both the cvs.hpi file and the cvs directory.
After that, restart Hudson/Jenkins and the plugin won't be there anymore.
Jenkins 1.487 adds a UI for uninstalling plugins: JENKINS-3070
Deleting the <plugin>.hpi file and corresponding <plugin>-plugin directory will effectively remove the plugin.
However, if you have configured parameters that belong to the plugin within your jobs your Hudson or tomcat logs may contain *CannotResolveClassException: hudson.plugins ... * exceptions because it attempts to load the plugin. This can result in build failures even if build is successful.
To fix that,
go to the job configuration and save it again. This should get rid of the plugin reference
if not, go into the hudson home jobs directory and open the config.xml found under the folder named after the job and remove the reference to the plugin
restart hudson
Hudson Plugins explains that some core plugins ("Tier 1" plugins, as they are called) are shipped with Hudson itself, and I assume cannot be deleted therefore.
You can disable it using the Jenkins ยป Plugin Manager. Go to Installed tab and untick the plugins you want to uninstall and restart Jenkins. Though it does not unintall, at least keeps it away from appearing from configuration pages..