Category Archives: CI/CD

Continuous integration in software engineering is the practice of merging all developer working copies to a shared mainline several times a day.

Continuous delivery is a software engineering approach in which teams produce software in short cycles, ensuring that the software can be reliably released at any time and, when releasing the software, doing so manually. It aims at building, testing, and releasing software with greater speed and frequency.

Jenkins: your Jenkins data directory is almost full and automated disk cleanup

27 March 2019
 

 We have a Jenkins instance with a bunch of jobs. After a while – a new warning appeared: Jenkins: your Jenkins data directory /var/lib/jenkins (aka JENKINS_HOME) is almost full Checked disk usage with the ncdu and found few jobs which used really lot of space: [simterm] root@jenkins-production:/data/jenkins# du -h –max-depth 1 jobs/ .. 25G jobs/APITests …… Read More »

Jenkins: Scripted Pipeline – Production environment job confirmation step

19 March 2019
 

 We have jobs which have to be executed on a Dev and Production environments via a Scripted Pipeline. In such jobs, there are tasks to execute CloudFormation upgrades on an infrastructure or Ansible playbooks to update servers configuration. To avoid an accidental execution of a Production job I want to have some confirmation step before… Read More »

Jenkins: import a job to another server

13 March 2019
 

 We have an old Jenkins with a bunch of iOS jobs which needs to be copied to a new Jenkins instance. Documentation suggests to: Move a job from one installation of Jenkins to another by simply copying the corresponding job directory. I.e. the first solution is just to copy a whole jobs directory or copy… Read More »