devops interview
devops interview
This will set the global username and email for all repositories. If you want to
set them for a specific repository, omit --global.
2. Build: The CI server (e.g., Jenkins) builds the code and produces
artifacts (e.g., .jar, .war files).
3. Automated Testing: Tests (unit, integration, etc.) are run on the code
to ensure quality.
2. Pipeline: A job defined by a Jenkinsfile with stages like Build, Test, and
Deploy.
This would run python app.py when the container starts, but you can
override CMD if needed.
3. Select the events to trigger the webhook (e.g., push events, pull
request events).
This script runs within a Jenkins pipeline, and the node block indicates that it
will run on a Jenkins node.
2. Choose the VPC, specify the CIDR block, and define the subnet’s type
(public or private).
Private Subnet: Does not have direct access to the internet. It can
access the internet via a NAT Gateway or NAT instance.