CI / CD concepts Flashcards

1
Q

What is Continuous Integration?

A

CI is a software development practice where members of a team integrate their work frequently.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What are benefits of CI ?

A
  1. Streamline the process from development to deployment
  2. Detect and fix bugs faster
  3. Helps deliver the code to production in an efficient and faster way
  4. Reduce risk by providing faster feedback
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is continuous delivery?

A

A software development discipline where software is built so that it can be released to production at any time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Difference between CI and CD ?

A

CI is just the practice of integrating code continuously.

CD is the ability to release at any time.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Continuous delivery vs Continuous deployment ?

A

Cont. Delivery - code can be released at any time

Cont. Deployment - Code is released continuously as a part of the pipeline.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is Jenkins written in?

A

Java

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What was Jenkins previously called?

A

Hudson

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

The easiest way to run Jenkins for the first time?

A

Java web start

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

How to start jenkins from command line?

A

java -jar jenkins.war

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is the default port for Jenkins?

A

8080

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Where do we do all the configurations in Jenkins?

A

Manage Jenkins

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is the path of JDK stored?

A

Configure System

JAVA_HOME

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Where to setup email notification?

A

Configure System

“Email Notification” Section

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Tabs in Manage plugins section?

A

Update
available
installed
advanced

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

what is build Job?

A

A task or step in the build process.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

What are the types of Jobs/Projects?

A

Freestyle Project
Maven Project
External Job
MultiConfiguration Project

17
Q

What is external Job and what is the use?

A

This is a type of Job that allows you to record the execution of a process run outside Jenkins, even on a remote machine. This is designed so that we can use Jenkins as a dashboard of our existing automation system.

18
Q

What are multi-configuration projects?

A

Suitable for projects that need a large number of different configurations.

19
Q

what syntax does Jenkins schedule use?

A

Cron syntax

20
Q

Define fields of cron syntax?

A

there are five fields of cron syntax separated by white spaces

  1. minute (0-59)
  2. hour (0-23)
  3. day of the month (1-31)
  4. month (1-12)
  5. day of the week (0-7)
21
Q

Where does maven store the test reports?

A

when maven runs unit test it automatically generates the XML test report in dir called surefire-reports in the target directory.

22
Q

What is a build?

A

The result of one run of the job.

23
Q

What are build steps?

A

Single operation within the build.

24
Q

what are Artifacts ?

A

output of a build.