yuval.guide
open-menu closeme
courses
topics icon
linux bash python git containers k8s aws terraform checkpoint jenkins prometheus
About
github linkedin
  • Github Plugin Webhooks - part 2

    calendar Jan 1, 2024 · 2 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    In the

    previuos post we have create smee.io infrastructre that can be used to deliver push notification from Github to Jenkins.
    Now we can go to Github and Jenkins to configure those webhooks.

    Github Plugin

    • There are several plugins that can receive webhooks in Jenkins.
      • Generic Webhook Trigger
      • Gitlab Plugin …

    Read More
  • Github Plugin Webhooks - part 1

    calendar Jan 1, 2024 · 2 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    We start our journey towards a full example where we use github webhooks to trigger a build in a single branch pipeline.

    The big picture

    This is what we want to achieve (see notes below):

    <img
      loading="lazy" …</picture></figure></p>
    

    Read More
  • Jenkins Top

    calendar Dec 31, 2023 · 1 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    Introduction

    • Jenkins Terms

    • Jenkins GUI

    • Jenkins Freestyle Job

    Jenkins installation

    • jenkins all in docker 1

    • jenkins all in docker 2

    Pipelines

    • Pipelines Primer 1

    • Pipelines Primer 2

    • Scripted Pipelines

    • Declarative Pipelines

    • Docker Agent

    • Environment …


    Read More
  • Jenkins All in Docker 2

    calendar Dec 31, 2023 · 2 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    In the

    previous post, we have created a docker:dind container, a smart container that has docker installed inside, can store docker images, and run internal containers.
    In this post we'll use it as a jenkins agent from a Jenkins controller (also a container), so that Jenkins could run docker agent stages and …


    Read More
  • Jenkins All in Docker 1

    calendar Dec 31, 2023 · 3 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    This post is based on these instructions.

    How to run everything in docker containers

    We are using a unique configuration, where the Jenkins controller+agent are running in a docker container. The basic Jenkins image we can use is jenkins/jenkins image. The problem with this image is that the Jenkins agent included …


    Read More
  • Docker Agent

    calendar Dec 29, 2023 · 1 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    What is a docker agent?
    How can we create one and use it? We'll explore this on the next post(2)

    What is a docker agent

    Let's say that I want to run some nodejs javascript code.
    I don't want to really install nodejs on any of my agents.
    Can I use docker?
    Yes!!! I can specify a docker agent in my pipeline.
    Jenkins will …


    Read More
  • Environment Variables

    calendar Dec 29, 2023 · 1 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    Here's an example of a file with environment variables:

     1pipeline {
     2    agent any
     3
     4    environment {
     5        globalvar = 'global'
     6    }
     7
     8    stages {
     9        stage('stage1') {
    10            environment {
    11                localvar = 'local'
    12             }
    13            steps { …

    Read More
  • Declarative Pipelines

    calendar Dec 28, 2023 · 2 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    Declarative pipelines were created to allow users create pipelines without learning Groovy programming.

    Declarative pipeline example

    • Create a new pipeline, as we've done in

      pipelines-primer-1 post
      ...but...

    • Choose GitHub + Maven example, which is the same as the one we have covered in

      scripted-pipelines, …


    Read More
  • Scripted Pipelines

    calendar Dec 28, 2023 · 2 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    Scripted pipelines are using Groovy language syntax to achieve part of the requirements for a pipeline.
    The other option (that we'll cover in another post) is Declarative syntax.

    Scripted Pipeline example

    • Create a pipeline as explained in

      pipelines-primer-1 but select Scripted Pipeline from the dropdown …


    Read More
  • Pipelines Primer 2

    calendar Dec 28, 2023 · 2 min read · jenkins ci/cd  ·
    Share on: twitter facebook linkedin copy

    Let's add some scm (source control management) abilities to our pipelines.

    SCM

    • We can add one more stage to the pipeline created in the

      previous post that will be used to clone a git repository

    • I'll be using checkout: Check out from version control (that has more options than git:Git)
    • Using the Pipeline Syntax …

    Read More
    • ««
    • «
    • 1
    • 2
    • »
    • »»


Google ads

Tags

LINUX 24 AWS 18 GIT 16 JENKINS 16 BASH 14 CI/CD 14 K8S 12 PYTHON 11 TERRAFORM 10 KUBERNETES 9 CONTAINERS 6 PROMETHEUS 3 NETWORKING 2 SECURITY 2
All Tags
AWS18 AWS NETWORKING1 BASH14 CCSA1 CHECKPOINT1 CI/CD14 CONTAINERS6 DATA1 DEVOPS1 DOCKER1 EC21 EFS1 GIT16 IAM1 JENKINS16 K8S12 KUBERNETES9 LINUX24 NETWORKING2 PROMETHEUS3 PYTHON11 SECURITY2 STORAGE1 TCP/IP2 TERRAFORM10
[A~Z][0~9]
Created by Yuval Shaul

Copyright 2023-  CREATED BY YUVAL SHAUL. All Rights Reserved

to-top