Getting started with Jenkins scripted pipelines (new automation system part – 15)

Preface Hi all, As I continue with the automation project, I now got into a stage where I wish to be able to compose some pipelines with “variant” number of stages, meaning, I wish to have the flexibility to define a single pipeline, which will have a total of 7 stages (for instance), where upon… Continue reading Getting started with Jenkins scripted pipelines (new automation system part – 15)

List all branches of a git repository dynamically in Jenkins pipeline (new automation system – part 14)

Preface Hi all, I now got into a situation where I need to have a pipeline in my Jenkins server that is capable to run the same “task” but with different branches of the same repository (we are working in branching-mode methodology, so it is desired most of the times actually). In this post I… Continue reading List all branches of a git repository dynamically in Jenkins pipeline (new automation system – part 14)

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)

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)

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)

Creating basic pipeline in Jenkinsfile for GitHub project

1.Preface: In my previous post (Configuring Jenkins to perform simple pipeline upon changes on GitHub) on the CI/CD topic, I introduced the basic settings needs to be done in a Jenkins server and a GitHub repository in order to use them both to trigger a (very simple) pipeline “job” in the Jenkins server. The section that… Continue reading Creating basic pipeline in Jenkinsfile for GitHub project

Configuring Jenkins to perform simple pipeline upon changes on GitHub

1.PrefaceWhile continuing my journey to explore the basics of the CI/CD world, in this post I will use Jenkins to automate a “custom” (and very naive) “pipeline procedure” (job) upon each commit (change) I make to a certain GitHub repository (a project of mine). 2. PrerequisiteIt is assumed here that:2.1) You have a GitHub repository… Continue reading Configuring Jenkins to perform simple pipeline upon changes on GitHub