Code Monkey home page Code Monkey logo

ddhruv-iot / project-exploration-jenkins-and-gitlabs Goto Github PK

View Code? Open in Web Editor NEW
5.0 1.0 0.0 24 KB

This repository contains the exploration of Jenkins and GitLab for automating build and deployment processes, as well as other experiments and comparisons. In this README, we will provide an overview of the key activities and findings in this repository. Here we will be exploring the power of Jenkins, CI/CD and other DevOps tools.

HTML 46.71% PHP 40.33% Shell 12.96%
jenkins ci cd automation dev devops github hooks jobs triggers

project-exploration-jenkins-and-gitlabs's Introduction

Project Exploration

This repository contains the exploration of Jenkins and GitLab for automating build and deployment processes, as well as other experiments and comparisons. In this README, we will provide an overview of the key activities and findings in this repository.

Jenkins Exploration

Jenkins Jobs Using Web UI

We used the Jenkins web UI to create and manage Jenkins jobs for various tasks, such as building and deploying applications. The web UI provides an intuitive way to configure and trigger Jenkins jobs.

Jenkins Pipeline

We created a Jenkins pipeline using a Jenkinsfile to automate the build and deployment process of a Java Maven application. Below is an explanation of the Jenkinsfile:

pipeline {
	agent any
	stages {
		stage('SCM') {
			steps {
				echo "Git pull my code"
				git 'https://github.com/Ddhruv-IOT/simple-java-maven-app.git'
			}
		}
		stage('Build') {
			steps {
				echo "Pack"
				sh 'mvn clean package'
			}
		}
		stage('Deploy') {
			steps {
				echo "Final step"
				sh 'java -jar target/*.jar'
			}
		}
	}
}

In this pipeline, we have three stages: SCM, Build, and Deploy. It pulls code from a Git repository, builds the Java Maven application, and deploys it.

GitLab Exploration

We also explored GitLab and experimented with PHP and Bash code to obtain the IP address of the system. Additionally, we set up a local runner in GitLab to execute CI/CD pipelines.

GitLab vs. Jenkins

GitLab

  • GitLab is primarily a web-based Git repository manager.
  • It offers integrated CI/CD capabilities using GitLab CI/CD.
  • GitLab provides a single platform for version control, issue tracking, CI/CD, and more.

Jenkins

  • Jenkins is an automation server that can be used for continuous integration and continuous delivery.
  • It is highly customizable and can be extended with various plugins.
  • Jenkins can be configured and managed using its web UI or by defining pipelines as code in Jenkinsfiles.

Thank You

Thank you for exploring this repository. If you have any questions or need further assistance, please feel free to reach out.

project-exploration-jenkins-and-gitlabs's People

Contributors

ddhruv-iot avatar

Stargazers

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