Home » Tag Archives: Jenkins

Tag Archives: Jenkins

How to update a Jenkins job posting config.xml

jenkins-logo

Recently I wanted to update a few jobs (not defined with a DSL) in Cloudbees, adding to each of them a few properties. Well, I had some trouble making it work, here are my notes (I used Jenkins 1.651.2.1 but chances are it should work with older and more recent versions, such as jenkins 2) No security  / no auth ...

Read More »

Continuous Stress Testing for your JAX-RS (and JavaEE) applications with Gatling + Gradle + Jenkins Pipeline

jenkins-logo

In this post I am going to explain how to use Gatling project to write stress tests for your JAX-RS Java EE endpoints, and how to integrate them with Gradle and Jenkins Pipeline, so instead of having a simple stress tests, what you have is a continuous stress testing, where each commit might fire these kind of tests automatically, providing automatic assertions and more important graphical ...

Read More »

Docker and Jenkins – Orchestrating Continuous Delivery

jenkins-logo

Past week I had the honour of speaking in Docker Barcelona Meetup about how to use Jenkins for doing typical Docker tasks like creating images, publishing them or having a trace of what has occurred on them. Finally I introduced the new (or not so new) Jenkins Pipeline plugin which allows you to create your continuous delivery pipeline by coding ...

Read More »

Blue-Green Deployment To Docker Swarm with Jenkins Workflow Plugin

jenkins-logo

The idea behind this article is to explore ways to deploy releases with Jenkins to Docker Swarm without downtime. We’ll use blue-green procedure. More info about the process and one possible implementation can be found in the Blue-Green Deployment, Automation and Self-Healing Procedure article. One of the downsides of the process we used in that article is Ansible itself. While ...

Read More »

Jenkins setups for Kubernetes and Docker Workflow

jenkins-logo

Intro During the summer I had the chance to play a little bit with Jenkins inside Kubernetes. More specifically I wanted to see what’s the best way to get the Docker Workflow Plugin running. So, the idea was to have a Pod running Jenkins and use it to run builds that are defined using Docker Workflow Plugin.  After a lot of ...

Read More »

Set up Jenkins for Android projects

jenkins-logo

Nowadays continuous integration is a must for Android application development. Jenkins plugins make it a lot easier to go with continuous integration while developing your Android application. First we must install the Gradle plugin for Jenkins.               The we must install the Android emulator plugin for Jenkins. We have to install Gradle on jenkins: ...

Read More »

Jenkins HOW-TO: build a project from multiple (Git) repositories

jenkins-logo

Recently I have been working on a project that has two main modules: Backend and Frontend. The Backend is a Spring Boot application and the Frontend is an AngularJS 1.3 application. While preparing the build we are using Grunt for building AngularJS code and Gradle for building the Spring Boot application. Grunt is creating a JAR file containing all resources ...

Read More »

GitHub and Jenkins pull request checking

github-logo

In my previous post titled GitHub and Jenkins integration I showed one possible way of integrating GitHub with Jenkins and outlined the idea and flow of pull request checking. In this post I will show you how to configure Jenkins job to achieve that and also how to add a bit of fancy to this whole process. Jenkins job setup Picking ...

Read More »

GitHub and Jenkins integration

devops-logo

Jenkins is a well-know term in many teams around the world and has been for quite some time now. As many organizations migrate their source code form centralized version control systems to git, GitHub seems like a great tool to support and simplify work with git. Needless to mention its great support for code reviews by the concept of pull ...

Read More »

Jenkins to Nexus with Git Polling

jenkins-logo

Build Binaries Only Once is a very important principle of Continuous Deployment (CD). However that blog guides you to build and deploy binaries to Nexus from your development machine. This is fine as a starting step where everything is locally contained on your laptop and you are just testing setup to figure out how things work. But everybody in the team having a local Nexus repository ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Spring Interview QnA
  • Multithreading & Concurrency QnA
  • JPA Minibook
  • JVM Troubleshooting Guide
  • Advanced Java
  • Java Interview QnA
  • Java Design Patterns