Git Product home page Git Product logo

learn-jenkins's Introduction

learn-jenkins

What is Jenkins ?

Jenkins is a self-contained, open source automation server which can be used to automate all sorts of tasks related to building, testing, and delivering or deploying software.

Jenkins can be installed through native system packages, Docker, or even run standalone by any machine with a Java Runtime Environment (JRE) installed.

Originally developed for continuous integration (CI), today Jenkins orchestrates the entire software delivery pipeline โ€“ Continuos Integration / Continuos Delivery (CI/CD).

Q&A

1. How to download Jenkins for Docker ?

There are many ways to install Jenkins. In this tutorial we are going to use Docker.

// To use the latest LTS
docker pull jenkins/jenkins:lts-jdk11
// To use the latest weekly
docker pull jenkins/jenkins:jdk11

Docker hub official site - https://hub.docker.com/r/jenkins/jenkins


2. How to setup a Jenkins using docker compose ?

  1. Run the docker compose file
version: '3.4'
services:
  jenkins:
    image: jenkins/jenkins:lts-jdk11
    ports:
      - '8000:8080'
    volumes:
      - jenkins-data:/var/jenkins_home # using named volumes, so that we don't lose data on restart/next start
    networks:
      - jenkins
networks:
  jenkins:
volumes:
  jenkins-data:
  1. Collect the password from the log
Jenkins initial setup is required. An admin user has been created and a password generated.
Please use the following password to proceed to installation:
c5d1d3cde1244d6f981774e73eb0c499
  1. Complete the setup

Head to http://localhost:8000/ and enter the password. And complete the setup by creating an user.


3. How to get started with Jenkins freestyle project ?








Resources

learn-jenkins's People

Contributors

madhank93 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.