Requests for Help: add FreeBSD procstat support to akuma library for Jenkins

Craig Rodrigues rodrigc at
Tue Jun 30 02:41:16 UTC 2015

On Mon, Jun 29, 2015 at 5:46 PM, Michael Zhilin <mizhka at> wrote:

> Hi,
> Here is possible fix (at least works for me @FBSD10-stable):
I figured out how to build Jenkins and test your patch.  Your patch works!!

Here is what I did:

(1)  Remove all cached plugins from maven

rm -r $HOME/.m2

(2)  Download your akuma source:

git clone

(3)  Edit akuma/.git/config and modify the "origin" section so that pull
requests can be checked out:

[remote "origin"]
    url =
    fetch = +refs/heads/*:refs/remote/origin/*
    fetch = +refs/pull/*/head:refs/remotes/origin/pr/*

(4)  Switch to the code to your pull request

cd akuma
git checkout pr/9

(5)  Build it

mvn install

After this step, I verified that the akuma plugin with your change appears
under $HOME/.m2

(6)  Check out jenkins:

git clone

(7)  Modify the pom.xml file in jenkins to build with your modified akuma

diff --git a/core/pom.xml b/core/pom.xml
index 252b0ee..d81c589 100644
--- a/core/pom.xml
+++ b/core/pom.xml
@@ -513,7 +513,7 @@ THE SOFTWARE.
-      <version>1.9</version>
+      <version>1.10-SNAPSHOT</version>

(8)  Build Jenkins:

cd jenkins
mvn clean install -pl war -am -DskipTests

(not all the Jenkins tests seem to work on FreeBSD yet)

(9)  Run Jenkins:

cd war/target
java -jar jenkins.war

This will start Jenkins, which can be accessed via a web browser on port

(10)  Access Jenkins via http://myhost:8080 .
        Navigate to Manage Jenkins -> Manage Plugins
        Select some plugins to install.
        Click "Download now and install after restart"

(11)  On next screen, verify that there is a checkbox next to "Restart
Jenkins when installation is complete and no jobs are running"
        Before the akuma fix, this checkbox did not appear.

(12)  Verified that with this box checked, after downloading plugins,
Jenkins restarted properly and ran with the new plugins.

Again, bravo and thank you for the patch!


More information about the freebsd-testing mailing list