Getting started with Jenkins shared libraries (new automation system – part 13)

1.Preface Hi all, Recently I came into a situation where I need to have several jobs, say 10, with the exact same settings/implementation – meaning, basically having the same pipeline several times. In a “brute-force” approach, I will simply create one “instance” of this job and then copy it “9 more times” (I need total… Continue reading Getting started with Jenkins shared libraries (new automation system – part 13)

Configuring post pull request pipeline for a git repository hosted in BitBucket server (new automation system – part 12)

1. Preface I now got into a stage, where I wish to be able to “better” monitor the repository of the project on which I work by setting a “pull request comprehensive procedure”, meaning, upon any push to the master branch (from any given feature branch) of the repository, I wish to perform the following:… Continue reading Configuring post pull request pipeline for a git repository hosted in BitBucket server (new automation system – part 12)

Configure an entire Jenkins pipeline to run concurrently (new automation system – part 11)

1.Preface At this point, I have a Jenkins pipeline that I would like it to be able to run, potentially, several times concurrently, meaning, having two (or more) “instances” of the job (i.e. – builds) running at the same time, with most likely, different parameters sent to each build (but also same parameters scenario is… Continue reading Configure an entire Jenkins pipeline to run concurrently (new automation system – part 11)

Setting branch permissions on master branch (new automation system – part 10)

1.Preface Hi all, I now got into a situation where soon I will not be the only developer working on the project. Due to this fact, from my past experience and best practices I have encountered so far, it is highly desired (if not obligatory) to have branch permissions, for start, for the master branch.… Continue reading Setting branch permissions on master branch (new automation system – part 10)

Creating a Python package and publish it to PyPi (new automation system – part 9)

1.Preface Hi all, As I continue with my automation project in Python 3, which is a software project in Python, I now got into a situation where I wish to be able to “handle” Python packages “correctly”. By handle I mean basically two things: 1.1) Be able to “divide” my custom Python project’s packages (modules)… Continue reading Creating a Python package and publish it to PyPi (new automation system – part 9)

Getting started with Robot framework (new automation system – part 8)

1.Preface Hi all, As I continue with my new automation system project “journey” I now reached a phase where I have already a “minimum self-made framework” that works and perform E2E tests for a couple of representative test cases. The overall picture of the automation  framework can be described like so: 1.1) Python 3.5 code… Continue reading Getting started with Robot framework (new automation system – part 8)

Capturing packets using tcpdump from within a Python script (new automation system – part 7)

1.Preface Hi all, 1.1) As continue with the new automation system project, I now got into a situation in which I needed the ability to capture traffic on the PC on which I execute a Python 3 script in order to investigate a certain issue. In this post, I will go over the basic things… Continue reading Capturing packets using tcpdump from within a Python script (new automation system – part 7)

Getting started with Jenkins pipeline (new automation system – part 6)

1.Preface: Hi all, as I continue with my new automation project, I now got into a situation in which I wish start and “bring up” the CI/CD capabilities of the new automation system, by, for now, have a Jenkins job that will: a) Fetch the “latest” automation code of its master branch from the (remote)… Continue reading Getting started with Jenkins pipeline (new automation system – part 6)

Basic usage in paramiko package and Python’s ABC classes (new automation system – part 5)

1. Preface: Hi all, As I continue with my new automation system project design and thoughts, I now came to a point where things starts to get more “hands-on”; In this post I will discuss and will start to implement one of the core modules of the project – the module that handles my SSH… Continue reading Basic usage in paramiko package and Python’s ABC classes (new automation system – part 5)

Introduction to Python’s logging module (new automation system – part 4)

1.Preface: Hi all, As I continue with my new automation system project, I’m now at the stage in which I have a small (yet representative) code base for some of the initial and minimal capabilities that are required from my system. In this post, I will put the emphasis on my automation project (code) logging… Continue reading Introduction to Python’s logging module (new automation system – part 4)