InterviewSolution
Saved Bookmarks
| 1. |
What is Jenkins used for in DevOps? |
|
Answer» Jenkins is a self-contained, open source automation server(tool) for continuous development. Jenkins aids and AUTOMATES CI/CD process. It gets the checked in CODE from VCS like Git using a ‘git plugin’, build the source code, run test cases in a production-like environment and make the code release ready using ‘deploy’ plugin.
Sample Jenkins file pipeline { agent { docker { image 'ubuntu:latest' } } stages { stage('build') { steps { sh 'uname -a' } } } }
|
|