Category Archives: linux

Jenkins GitLab Oauth via https

I had previously configured our Jenkins to use our GitLab server, at  http://git.mycompany.com, for authenticating users, using About GitLab Authentication Plugin. My company has recently moved the GitLab server connection to https. I had to edit the config.xml file and change … Continue reading

Posted in java, linux, testing | Leave a comment

Jenkins: Opening Robot Framework log failed

After switching Jenkins from 1.6 to 2.something, I could no longer open the Robot Framework logs files.   The error I had was: • Verify that you have JavaScript enabled in your browser. • Make sure you are using a … Continue reading

Posted in linux, robot framework, testing | Leave a comment

ssh as Jenkins

It is simple, just ssh the machine where jenkins runs, then do: sudo su -s /bin/bash jenkins EDIT: Also works with sudo -u jenkins -i    

Posted in linux, testing | 5 Comments

Create a RAID volume for docker

I had 2 hard drives and wanted to create a RAID volume and format it it with btrfs and use it for docker. Use lsblk comand to identify the disks to use sdb and sdd are the disks I want to use for raid. … Continue reading

Posted in docker, linux | Leave a comment

Recover a docker container which ran out of space with device mapper

When installing docker on a centos/redhat distribution the default copy-on-write file driver is device mapper and the default size for each container is 10Gb. As soon as the container exceeds this, it will crash, and , when trying to start … Continue reading

Posted in docker, linux | Leave a comment

Start a docker container on CentOS at boot time as a linux service

I have an amazon EC2 instance running RedHat 7, with docker service installed and enabled. I need a particular container to be started at boot time. I have done this by installing a service which runs after the docker service … Continue reading

Posted in docker, linux | Leave a comment

[Solved] My Java application fails to connect to my Oracle database

Originally posted on Goldfish tips:
Problem Yesterday we faced a very weird issue: we have a Java application connecting to an Oracle DB via ojdbc6. In these days it stopped working, magically: no relevant changes in the system configuration or…

Posted in java, linux | Leave a comment