Native Linux memory leak in Jenkins master running in Docker?

2017-08-04 Thread John Hovell
For the last few weeks we've been experiencing container restarts due to Jenkins running out of memory in Docker. We allocated 3GB for the container and heap usage is quite low (a few hundred MB, limited to 512 MB) but after 12-24 hours overall container usage grows to 3GB. We're using the jenk

Re: Jenkins Health Check URL

2017-08-01 Thread John Hovell
>From the docs: https://wiki.jenkins.io/display/JENKINS/Metrics+Plugin "The Healthcheck servlet runs the healthchecks defined against the Metrics API and returns the detailed status in JSON (or JSONP) format, while the high level status is reported by the HTTP status code. These servlets a

env.CHANGE_ID null when building GitHub Pull Request?

2017-01-19 Thread John Hovell
Hello, I am successfully triggering pull request builds using the instructions for setting up a Github service webhook here: https://gist.github.com/misterbrownlee/3708738 PRs trigger builds automatically, and build results show up in Github. However, none of the env.CHANGE* environment varia

How to diagnose java.io.NotSerializableException: org.codehaus.groovy.control.ErrorCollector errors?

2016-10-06 Thread John Hovell
Quick question how to diagnose non-serializable errors, or how to avoid the issue entirely in my case. I thought I could add a @NonCPS annotation to my method to bypass/disable serialization but adding the annotation does not