Jenkins is a leading open-source CI/CD automation tool used to build, test, and deploy applications automatically in real-time projects.
Jenkins is an open-source Continuous Integration and Continuous Delivery (CI/CD) automation server written in Java.
java -jar jenkins.war
Simple job to execute Maven tests.
mvn clean test
mvn clean install
Pipelines define CI/CD as code.
pipeline {
agent any
stages {
stage('Build') {
steps {
sh 'mvn clean compile'
}
}
stage('Test') {
steps {
sh 'mvn test'
}
}
}
}