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
####
- Job type
- Build description and source code management
- Build triggers
- The build environment
- Run and monitor jobs
- Run and monitor jobs using console output
- Monitor build trends
3. More Detail setting on Jobs
- Using a global build tool
- Browse a job's workspace
- Manage artifacts
- Parameters and environment
- Build parameters
- Schedule jobs
- Time zones - Time zones are relative to the server
4. Organize Jobs with Views and Folders
- Views
- 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/