Giter VIP home page Giter VIP logo

play.with.jenkins's Introduction

Play.With.Jenkins


Note that this repository provides insights to understand what Jenkins is, but it is not intended to be the main resource for anyone.

Table of content

  1. Jenkins infrastructure.
  2. Installing Jenkins.

Jenkins infrastructure.

  • Master server

    • Controls pipelines.
    • Schedules builds.
  • Agents

    • perform the build.
  • Take a look at this scenario:

    Intro
  • The two primary categories of Jenkins agents are:

    • Static Agent.
      • Dedicated machine that is permanently configured to serve as a build agent.
      • It is always online and ready to accept build tasks from the Jenkins master.
    • Dynamic Agent.
      • Machine that is provisioned on-demand to serve as a build agent.
      • Jenkins can dynamically spin up instances (virtual machines or containers) as needed and tear them down once the build is complete.
  • In Jenkins, builds can generally be categorized into two primary types:

    • Freestyle Builds.
    • Pipeline Builds.
Freestyle Builds Pipeline Builds
Overview:
๐Ÿง Traditional and simpler form of builds in Jenkins.
๐Ÿง Configured through the Jenkins web interface using a graphical user interface (GUI).
Overview:
๐Ÿง Defining the entire build and deployment process as code in a Jenkinsfile.
๐Ÿง This approach enables a more flexible, maintainable, and version-controlled method for defining and executing builds.
Configuration:
๐Ÿง Users can define build steps, post-build actions, and configurations through the Jenkins UI without the need for scripting.
๐Ÿง It is a point-and-click approach to configuring and running builds.
Configuration:
๐Ÿง Pipelines are configured using a domain-specific language (DSL) based on Groovy.
๐Ÿง The pipeline script is typically stored alongside the application code in version control (e.g., Git).
Use Cases:
๐Ÿง often used for projects with uncomplicated build and deployment processes.
Use Cases:
๐Ÿง often used for projects with complex build requirements, multiple environments, and the need for version-controlled and shareable build configurations.

Installing Jenkins.

  • There are various methods to install Jenkins, as outlined on the official website. However, for this repository, I will be using Docker.

  • Docker must be installed beforehand;see here.

  • Take a look at the official documentation.

  • Check out this Bash script for installing Jenkins.

  • After installing it, you should see this page when you visit http://localhost:8080:

    Getting Started
    • After that, you will see GUI to customize Jenkins. Plugins extend Jenkins with additional features to support many different needs.

    • After Installation, Create the First Admin User.

    • Congratulations!.

      Welcome

play.with.jenkins's People

Contributors

mohamed-abdalazez avatar

Stargazers

Aditya Gaitonde avatar Mathieu avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.