Jenkins default plugins are not available - plugins

I tried to install plugins from jenkins web interface and using command line as well. I am failed on both:
After installing jenkins-1.429-1.1.noarch.rpm, when I go to manage plugins and search in available plugins like phpcpd: pdepend: phpcs:phpdoc:phploc: but those plugins are not available in the list. So strange.
When I try to create build , I get error like http://pastie.org/2516863
On the top of that I manually try to install the plugins with command
java -jar jenkins-cli.jar -s http://localhost:8080 install-plugin checkstyle
, but unfortunately, I get error like
Failed to authenticate with your SSH keys. Proceeding with anonymous access
Installing checkstyle from update center
Can somebody suggest me why I am missing default plugins in jenkins and also why I am getting such ssh authentication error from command line.
I am looking forward to solve this issue sooner!
Thanks in advance!

Those php related plugins don't come with jenkins, we need to install them manually. In case of redhat, I followed following process to install the plugins:
yum search plugin_name
yum install plugin name
how to install phpunit? it is different from previous method:
pear channel-discover pear.phpunit.de
pear install phpunit/PHPUnit

Related

install sublipse using linux cli or ansible

I have an ansible playbook to install eclipse. This works fine but I would like to add some plugins to it, like subclipse for instance. Does anyone know how to do it? It might also be a shell script which allow me to install subclipse. This I can run via ansible. I've already tried many things but most often end up with an error:
The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized

collectd-how to install write_riemann plugin

I'm new to collectd and Riemann. Im essentially trying to direct collectd logs to a riemann server instance. I understand that I need write_riemann plugin installed. I tried compiling the source files for write_riemann available online, but it includes a file called "riemann.pb-c.h", which is no where to be found. Please help!
Download the binary. After running the build script, while running the configure script include "--enable-write_riemann", this should install it. I had a lot of dependencies missing on CentOS, which threw a lot of errors. Once they were installed, write_riemann plugin was compiled and installed. Another issue you might face while installing the dependency is not able to find the right packages for protobuf-c.I was using yum package installer. Go to sudo vi /etc/yum.repos.d/epel.repo and change enabled from 0 to 1. After this, the protobuf-c processor was recognised while running the configure script. This solved my issue. Hope it does yours too!

jenkins EnvInject plugin does not install

I have jenkins 1.532.1.
When I want to install the EnvInject Plugin, it shows a warning:
This plugin makes it possible to have an isolated environment for your
jobs. Warning: This plugin is built for Jenkins 1.445 or newer. It may
or may not work in your Jenkins.
I go ahead and install it. It says successful but then I can see that it is not installed.
I've already tried restarting jenkins.
Does anyone know whether this plugin was discontinued or whether I will have to downgrade jenkins or any other suggestions?
I got it.
Downloaded the latest jenkins.war and replaced the current one with it.
On ubuntu, here are the steps:
sudo /usr/local/etc/rc.d/jenkins stop
cp jenkins.war /usr/share/jenkins/
sudo /usr/local/etc/rc.d/jenkins start

How to install a plugin using JRuby?

I'm trying to install the jQuery Grid Rails Plugin. I'm using JRuby 1.7.0. I tried this command with no luck:
jruby -S plugin install git://github.com/ahe/2dc_jqgrid.git
rails plugin install git://github.com/ahe/2dc_jqgrid.git
And some others...
I know that some commands change for JRuby. Commonly I prepend jruby -S to the command but it's not working with plugin install. Any suggestion?
Regards.
Problem solved, I was executing the command jruby -S plugin install git://github.com/ahe/2dc_jqgrid.git
The error message says:
jruby: No such **file or directory** -- plugin (LoadError)
As you may know there is a rails file under the ../script folder, since the error says No such file or directory I thought of pointing jruby into the right directory and file:
jruby script/rails plugin install git://github.com/ahe/2dc_jqgrid.git
That way jruby knows where is the script that I need. This should work the same way for the other rails commands as generate and server.

can not get scion_server to be created using runghc

I downloaded the scion cabal and am attempting to created scion_server
I ran all of the runghc Setup (configure/build/install)
The Haskell libraries are installed, but the scion_server is not in the ~/.cabal/bin
I have to use a --user on configure so I can install it on just my account.
Any thoughts?
Try unregistering the scion package with GHC and reinstalling it again. (That usually fixes these kinds of issues for me.)
~/scion $ ghc-pkg unregister scion
~/scion $ cabal install
Note that cabal install in the proper directory is the same as "configure --user/build/install".
I found the problem when doing a verbose on configure.
The server option by default was set to False.
When I did
runghc Setup configure --flags="server"
I was able to get the server file