1. An open source tool with great community support. 2. Has 1000+ plugins to ease our work. 3. Easy to install and use. 4. Great integration with other DevOps tools (e.g., GitLab, Jira, Slack, Docker) 5. Easy to archive artifact and deploy with custom scripts.
Ansible • Blue Ocean - a new user experience for Jenkins • Copy Artifact Plugin - copy artifacts from another project • Docker Plugin - integrates Jenkins with Docker • GitLab Plugin - allows GitLab to trigger Jenkins and display results in the GitLab UI • Jira Plugin - update JIRA issues by jenkins • Monitoring - monitor jenkins itself
a build when a certain condition is matched in JIRA • SSH Plugin - executes shell commands remotely using SSH protocol • HTML Publisher Plugin - Publishes HTML Reports • Pipeline Plugin - orchestrate CI / CD pipeline, simple or complex. • Performance Plugin - capture reports from popular testing tools (e.g., JUnit, JMeter) • Job DSL - allows the programmatic creation of projects using a DSL • Allure Plugin - generate test report and attach it to build during Jenkins job run
implement pipelines: • write pipeline script directly • Pull scripts from SCM (recommend: because the pipeline scripts can be stored in git repository)
2.5) and Scripted Pipeline. • Use apache groovy language to describe the pipeline. • You can use if, when, try/catch/finally or define helper functions to control the pipeline. pipeline { agent { docker 'maven:3-alpine' } stages { stage(“Stage 1”) { steps { sh 'mvn -B clean verify' } } } } Example of declarative pipeline