Jenkins

1. Introduction

1.1 Why choose Jenkins

  • Intuitive web interface
  • Easy to navigate
  • Documentation and examples included
  • Free and Open Source
    • Free to install and use
  • Extensibility
    • Plugins add functionality
    • New features can be developed
  • Community
    • Jenkins user around the world
    • Conferences and events

https://github.com/LinkedInLearning/learning-jenkins-3003221

1. Install Jenkins

install via docker

docker-compose.yaml

version: '3.3'
services:
  jenkins:
    image: jenkins/jenkins:lts
    privileged: true
    user: root
    ports:
     - 8080:8080
     - 50000:50000
    container_name: jenkins
    volumes:
      - /Jenkins/jenkins_home:/var/jenkins_home
      - /Jenkins/run/docker.sock:/var/run/docker.sock

2. Setting

Username: admin
Password: z***%******9
Full name: admin@creis.jp
Email address: admin@creis.jp

creis.awsapps.com
info
z**%**B

####

  1. Job type
  2. Build description and source code management
  3. Build triggers
  4. The build environment
  5. Run and monitor jobs
  6. Run and monitor jobs using console output
  7. Monitor build trends

3. More Detail setting on Jobs

  1. Using a global build tool
  2. Browse a job's workspace
  3. Manage artifacts
  4. Parameters and environment
  5. Build parameters
  6. Schedule jobs
  7. Time zones - Time zones are relative to the server

4. Organize Jobs with Views and Folders

  1. Views
  2. Folders

5. Pipeline

https://confluence.cbre.com/pages/viewpage.action?pageId=70780742

6. Checkmarx integration

https://checkmarx.atlassian.net/wiki/spaces/KC/pages/965050901/Configuring+a+CxSAST+Scan+Action+using+Jenkins+Pipeline+v8.9.0+and+up

https://plugins.jenkins.io/checkmarx/