How to create a private repository in Amazon Elastic Container Registry (ECR) using AWS CLI?

How to create a private repository in Amazon Elastic Container Registry (ECR) using AWS CLI? Hello Everyone Welcome to CloudAffaire and this is Debjeet. Today we will discuss how to create a private repository in AWS Elastic Container Registry (ECR) using AWS CLI. We will also discuss on how to push and pull a docker image from AWS ECR private repository using AWS CLI. What is Elastic Container Registry (ECR)? Amazon Elastic Container Registry…

0 Comments

Jenkins pipeline part 8 – inputs

Jenkins pipeline part 8 – inputs Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss inputs in a Jenkins pipeline and how take input from user in Jenkins pipeline using inputs. What is inputs is Jenkins pipeline? The input directive on a stage allows you to prompt for input, using the input step. The stage will pause after any options have been applied, and before entering the…

0 Comments

Jenkins pipeline part 7 – triggers

Jenkins pipeline part 7 – triggers Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss triggers in a Jenkins pipeline and how to use different types of triggers in your Jenkins pipeline definition. What is triggers is Jenkins pipeline? The triggers directive defines the automated ways in which the Pipeline should be re-triggered. For Pipelines which are integrated with a source such as GitHub or BitBucket, triggers…

1 Comment

Jenkins pipeline part 6 – parameters

Jenkins pipeline part 6 – parameters Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss parameters in a Jenkins pipeline and how to pass arguments in Jenkins pipeline using parameter directive. What is parameters is Jenkins pipeline? The parameters directive provides a list of parameters that a user can provide when triggering the Pipeline. The values for these user-specified parameters are made available to Pipeline steps via…

0 Comments

Jenkins pipeline part 5 – options

Jenkins pipeline part 5 – options Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss what are different options available in a Jenkins pipeline. What is options is Jenkins pipeline? The options directive allows configuring Pipeline-specific options from within the Pipeline itself. Pipeline provides a number of these options, such as buildDiscarder, but they may also be provided by plugins, such as timestamps. Similar to pipeline-level options,…

0 Comments

Jenkins pipeline part 4 – environment

Jenkins pipeline part 4 – environment Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss how to use environemnt in a Jenkins pipeline with examples. What is environment is Jenkins pipeline? The environment directive specifies a sequence of key-value pairs which will be defined as environment variables for all steps, or stage-specific steps, depending on where the environment directive is located within the Pipeline. The environment directive…

0 Comments

Jenkins pipeline part 3 – post

Jenkins pipeline part 3 – post Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss how to use stages and steps in Jenkins pipeline with examples. What is a post is Jenkins pipeline? The post section defines one or more additional steps that are run upon the completion of a Pipeline’s or stage’s run (depending on the location of the post section within the Pipeline). post can…

0 Comments

Jenkins pipeline part 2 – stages and steps

Jenkins pipeline part 2 – stages and steps Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss how to use stages and steps in Jenkins pipeline with examples. What is a stages is Jenkins pipeline? Stages contains a sequence of one or more stage directives, the stages section is where the bulk of the "work" described by a Pipeline will be located. At a minimum, it is…

0 Comments

Jenkins pipeline part 1 – agents

Jenkins pipeline part 1 – agents Hello Everyone Welcome to CloudAffaire and this is Debjeet. In today’s blog post, we will discuss how to use a Jenkins agent in a pipeline and what are different options available while using Jenkins agent in a pipeline with examples. What is an agent is Jenkins? An agent is typically a machine, or container, which connects to a Jenkins controller and executes tasks when directed by the controller.…

0 Comments

How to integrate GitHub repository with Jenkins?

How to integrate GitHub repository with Jenkins? Hello Everyone Welcome to CloudAffaire and this is Debjeet. Today we will discuss on how to integrate a GitHub repository with Jenkins using GitHub webhook. We will also learn on how to integrate a private GitHub repository with Jenkins and trigger a Jenkins pipeline manually using API. We will integrate our GitHub repository with Jenkins in two ways Publicly accessible Jenkins controller endpoint + GitHub public/private repository…

0 Comments