📖
System Design
  • Home
  • Learn System Design Daily
  • System Design Steps
  • List of design questions:
  • My System Design Interview Checklist
  • CheatSheet
  • Programming Language Jargons
  • Scaleable Design
  • Agile Scrum
  • Uber
  • Gmail System Design
  • Distributed Rate Limiting
  • Audio Search Engine
  • Code Style and Review
  • Calling App Design
  • Low Level Design: Payment Tracking App
  • Machine Coding :Cache
  • Interview Advice
  • URL Shortner
  • Unique ID in Distributed Systems
  • Load Balancing Algorithm
  • API Architecture
  • Desgin Practise for Rest API
  • Performance Practise for API
  • API Gateway
  • API Security Hacks
  • Distributed Design Patterns
  • Fault Tolerance in Distributed Systems
  • Microservice Communication Design Patterns
  • Zipping /Compression
  • Database
  • Mongo DB
  • SQL
  • PostgreSQL
  • Database Designs
    • Designing a location based database
  • Building Database
  • Design Patterns
    • Microservice Architecture 10 Design Patterns
    • Interaction Patterns
  • Locale.ai
  • Version Control
  • Caches / Caching
  • High Level Design
  • Low Level Design
  • Containers, Docker
  • Docker
  • Linux Directories
  • Design Pattern for Software Architect
  • S.O.L.I.D Principles
  • Monitoring and Telemetry for Production System
  • C4 model
  • LRU Cache
  • VSCode
  • Chatbot Architecture
  • Streaming API Repsonse
  • Latency in System Design
  • Cloud
    • Azure
    • AWS
  • Builds
    • Jenkins
Powered by GitBook
On this page

Was this helpful?

  1. Builds

Jenkins

Jenkins Configs

1. Sample Pipeline

  • Type pipeline

  • Build Perodically : * * * * * 5 stars for every minute run

  • Pipeline Script

node {
    timestamps{
        stage "code build"
        echo "Stage 1 done"
        
        stage "Testing"
        echo "Testing Completed"
        
        stage "Final"
        echo "sucess"
    }
}

2. Dummy Pipeline SCM

  • Type : Pipeline

  • Pipeline Scripts from SCm

  • Source :Git

  • Source Containing File named Jenkins

node{
  timestamps{
  
  stage "Code Build"
  echo "Stage 1 Done"
  
  stage "Testing"
  echo "Testing Completed"
  
  stage "Final"
  echo "Sucess"
    
  }
}

3 . FreeStyle

  • Type : Freestyle

  • Source : Git repository added

  • Build : Execute Window batch command

Dir

4. MVN Maven Pipeline Projects

  • Install the Maven Build if not have already

  • Type : Maven

  • Source : Github Repo

  • Build Environment :

    • Delete workspace before build starts

    • Add timestamp to console output

  • Pre Steps : Execute windows batch command

echo " Maven Build Started"
  • Build : pom.xml from repo of the maven project

  • Goal and Option : clean test

  • Post Steps : Run Regardless of build result

5. Unit Testing

  • Type : Maven

  • Repo : Github

  • Maven : clean test

  • Post Build Action :

    • Install NUnit plugin in jenkin

    • Publish NUnit test result report

6. JMeter

  • Install JMeter as plugin in the maven

  • Type : Maven

  • Repo : Github

  • Maven : clean test

  • Build : Execute the windows batch command as both are on the same OS (Jenkins + Jmeter)

(Jmeter config command to use the console version of the Jmeter)
  • Post Build Action :

    • Publish Performance test result report

7. TestNg + Maven Project

  • type : Maven

  • Repository : GIt

  • Environment : Delete workspace before build starts

  • Build : clean

  • Post Build : Publish Test Ng results

8. Parametrized Project

  • Freestyle

  • Parameter : Java Parameter

9. Multi Configuration

  • Type : MultiConfiguration

  • Source : Git

PreviousAWS

Last updated 3 years ago

Was this helpful?