Skip to content

Content classified under "IT"

Page 4 of 11

Sending HTTP requests with Jenkins Pipelines

May 24, 2018Category: IT
As part of the CI/CD process, we might need to communicate with some external services' APIs (e.g. notifying elastic search of a new index alias). I found an easy way to do it: Using a jenkins plugin. Jenkins plugin Jenkins has a HTTP request plugin . If you install it (or have it installed), you…

An Initial CI/CD Pipeline

May 24, 2018Category: IT
Release-based deployments are sort of nice in the sense that you plan, draw a line, prepare stuff and release one or more components at the same time. It however stalls feature deployments a lot (e.g. a nice feature can be implemented in say a day but the release is sheduled in a month). It also…

Copy Files From B to C via A with SSH

May 24, 2018Category: IT
The other day I had an interesting situation to solve: I have some data on machine B and I want it copied on machine C . However, machines B and C have no direct connection ( known_hosts ), but machine A can connect to B and C without password. It is obvious that one needs to use…

Run Restricted Groovy API in Jenkins

March 16, 2018Categories: IT, Tutorial
The more recent versions of Jenkins have improved on security. Unfortunately, a side-effect is that scripts which were running before would fail now. An example is: ... which would list the projects defined in Jenkins. Fortunately, you can have access to theis API via the In-process Script Approval…

Fix Missing In-process Script Approval in Jenkins

March 16, 2018Categories: IT, Tutorial
Normally, when you have a script or a method to be approved, you should see the In-process Script Approval entry in your Jenkins' configuration: Unfortunately, the In-process Script Approval entry in Jenkins' configuration is not always shown, even though we have items to be approved. I found…

Fix Jenkins Ignored Plugin "Check Now"

March 13, 2018Categories: IT, Tutorial
TL;DR: Check if a browser extension is blocking your request when you click Check Now While playing more with jenkins, I've encountered an error while requesting Check Now for plugin updates: it seemed that my request got ignored. I've tried different URLs (with and without HTTPS, stable or not…

Update Jenkins on Ubuntu

February 16, 2018Categories: IT, Tutorial
I've got an installation of Jenkins on a Ubuntu 14.04.5 LTS which I needed to update. In order to do so I did the following: Download the new version (2.107 at the moment of writing this post). In /home/user/backup/ execute: Backup the old version (Jenkins war is installed in /usr/share…

Monitor ethOS Distro with Elastic Search - 3

December 27, 2017Categories: IT, Software, Tutorial
Once we've set up the data sending from out ethOS machine , we can check that ElasticSearch collects data. With GET /ethos/_count , we get something like: If the count is greather than 0 , we can start analysing the data. Metrics I am currently measuring only machine. Therefore, I've set up some…

Monitor Docker Logs with ELK - 2

December 12, 2017Categories: IT, Tutorial
This second post in the series provides a starting point for visualising the log data. It makes some assumptions that logs are collected in a way described by the first part , so I would suggest to read through it if you haven't already. Verify First, make sure you have some data logged in: You…

Monitor Docker Logs with ELK - 1

December 12, 2017Categories: IT, Tutorial
Following my attempts to monitor ethOS data via ElasticSearch and Kibana , I've thought it would be a good idea to start monitoring the logs produced by my various docker instances. This first part deals with configuring ELK and logspout . Prerequisites I assume the following: ELK is…
PreviousNext

All categories