Posts in Cloudbees

Jenkins: The Strange Case of Killed jobs

May 4th, 2019 Posted by Cloudbees, DevOps No Comment yet

I have Jenkins configured with a dozen jobs that support a microservices application. The setup worked fine for several months until, suddenly, jobs started to fail with errors similar to this (console log fragment):

 

 

It caused all jobs to fail most of the time, including Bash scripts as well as Maven builds. The main Jenkins log had no additional information. A web search turned up many discussions about jobs failing (not Jenkins itself), all pointing to a memory shortage like heap space or virtual memory. But the same processes worked flawlessly when executed manually, i.e. not by Jenkins. So the problem was unrelated to memory; something else was going on.

My Jenkins service was being subjected to a denial of service attack. This article is about identifying the cause and taking preventative action.

 

(more…)

DevOps World and Jenkins World 2018

August 17th, 2018 Posted by Cloudbees, DevOps, Events, News No Comment yet

Join the Code Partners team at DevOps World and Jenkins World 2018 in San Francisco in September.

 

It’s shaping up to be a cracking week of workshops and sessions covering the latest in software automation, DevOps practices, Continuous Delivery, Container Orchestration, Testing and more.

 

We had a great (albeit exhausting) time last year and with this years expanded scope, it’s looking like it’ll be even better.

Jenkins Plugins Security Advisory

August 1st, 2018 Posted by Cloudbees, DevOps, News No Comment yet

There is a new Security Advisory that covers issues in several Jenkins plugins, including the Kubernetes Plugin, the Confluence Publisher Plugin, the SSH Agent Plugin and several more. Descriptions of the issues and how they have been addressed in each plugin are included.

Check out the advisory to see if any issues affect plugins you are relying on.

Sydney and Melbourne Jenkins Meetups

July 4th, 2018 Posted by Cloudbees, DevOps, Events, News No Comment yet

We have a couple of very experienced Jenkins folks visiting from Cloudbees in the US next week, so we thought it was a good excuse to get the meetups in Sydney and Melbourne together. We’re not planning a formal presentation, but both Kurt and Aaron have been involved with helping a lot of large customers in their DevOps transformations, so it’s a good opportunity to have a drink and chat with them (and the other attendees) about Jenkins, maybe put in a pitch for your favourite feature you’d like added or get some help with a challenge you’re facing. (more…)

Jenkins Log Recorders

May 7th, 2018 Posted by Cloudbees, DevOps No Comment yet

My Jenkins job was set to trigger a build automatically from a simple GitHub webhook, but the job didn’t build when code changes were pushed to GitHub. Was the problem in Jenkins, GitHub, or something else? I investigated using Jenkins log recorders.

(more…)

Enterprise Jenkins on Azure, Part 2

Enterprise Jenkins on Azure, Part 3

March 29th, 2018 Posted by Cloudbees, DevOps 1 comment

This is the final post, part 3 of a series:

Part 1: Overview and Deploy Azure Resources
Part 2: Deploy Jenkins Operations Center, Master and Shared Agent
Part 3: The Jenkinsfile, tweaks and tips

In this post I describe the Jenkinsfile that defines the build pipeline, a little troubleshooting and tweaking, and wrap up the series. (more…)

Jenkins Security Updates

February 20th, 2018 Posted by Cloudbees, News No Comment yet

There have been two recent Security Updates for both Jenkins Core and for multiple Plugins.

Jenkins Core Updates

Jenkins versions 2.107 and 2.89.4 have just been released that fix multiple security vulnerabilities.

For an overview of what was fixed, see the security advisory. For an overview on the possible impact of these changes on upgrading Jenkins LTS, see the LTS upgrade guide.

Jenkins Plugin Updates

Multiple Jenkins plugins have recently updates that fix several security vulnerabilities.

For an overview of these security fixes, see the security advisory.

Jenkins World 2017 – Day 2

September 1st, 2017 Posted by Cloudbees No Comment yet

Tim, Graham and I are back with our wrap up of Day 2 of Jenkins World 2017. We’ve all had a lot more sleep than yesterday’s so hopefully it’s not as rambling…although Graham does have a moment in there 😉

This was the final day of Jenkins World and at the closing keynote they confirmed that the recordings of all the sessions will be available soon. We’ll post a link as soon as they go up.

Oh, and I totally forgot to mention the awesome session on DevOptics Deliver that Karan Malhi, the DevOptics Deliver PM gave. Definitely worth watching on the replays, as he goes deeper into what problems they are trying to solve, gives a longer demo and also gives some insight into how it is implemented.

Jenkins World 2017 – Day 1 Wrap-up

August 31st, 2017 Posted by Cloudbees No Comment yet

A few of the team and I have travelled to the San Francisco for Jenkins World and after a long day 1 of the conference, we recorded a quick wrap-up of some of our highlights.

We’re seriously suffering from jetlag and too much coffee, but if you weren’t able to make it to Jenkins World this year, hopefully this will give you a taste of some of the announcements and sessions.

I believe the sessions are being recorded, so at some stage they should come online.

Check back tomorrow for a Day 2 Wrap-up.

Enterprise Jenkins on Azure Part 2

Enterprise Jenkins on Azure, Part 2

July 20th, 2017 Posted by Cloudbees, DevOps 2 comments

This post is part 2 of a series:

Part 1: Overview and Deploy Azure Resources
Part 2: Deploy Jenkins Operations Center, Master and Shared Agent
Part 3: The Jenkinsfile, tweaks and tips

In this post I deploy the Jenkins distributed builds model: a Jenkins client master will delegate build jobs to one or more Jenkins agents.  In addition, I deploy a Jenkins Operations Center to manage all client masters in one place. (more…)