jenkins EnvInject plugin does not install - plugins

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

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

Installing libsodium in MAMP environment

I'm trying to install libsodium (following this guide https://paragonie.com/book/pecl-libsodium/read/00-intro.md#installing-libsodium). When I attempt to use pecl install libsodium, I get the following result:
Build process completed successfully
Installing '/usr/lib/php/extensions/no-debug-non-zts-20121212/libsodium.so'
ERROR: failed to write /usr/lib/php/extensions/no-debug-non-zts-20121212/libsodium.so (copy(/usr/lib/php/extensions/no-debug-non-zts-20121212/libsodium.so): failed to open stream: Operation not permitted)
Can anyone tell me why this isn't working, and how I can overcome it?
I installed libsodium on MAMP using PECL.
It's easy when everything is configured.
Basically you just need to
check this checkbox on MAMP > PHP. Make sure to open a new terminal tab or restart it to make effect.
Run pecl install libsodium and follow the latest instruction
Troubleshooting
I faced an issue related to GNU (autom4te: need GNU m4 1.4 or later: /Applications/MAMP/Library/bin/m4) when trying to install with PECL.
I solved it by following these steps after brew install m4.
Also, make sure xcode is installed and using latest versions (xcode-select --install).
I hope it helps.

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 default plugins are not available

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

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