Jenkins / Linux, etc Flashcards

1
Q

Что такое CI

A

Неперервна інтеграція - практика розробки ПО, яка заключається в поістійному злитті робочих копій в загальну гілку розроб. і викон. автом. сборок проекта для виявлення потенцій. дефектів і вирішення проблем.

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

Навіщо потрібні CI?

A
  • підвищується швидкість виводу нового функціоналу від запроса до експлуатації
  • ability to choose optimal version cause of lots of iterations
  • quality of final product is much higher
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is Jenkins?

A

це сервер неперервної інтеграції і сборки

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

Jenkins Master and Slave architercure

A

Master: control scheduling of all jobs, send builds to Slaves, monitor slaves and record build results, can build jobs by himself in case of some troubles with slave
Slave: build jobs that was sent by Master

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

update terminal without closing it in Linux

A

source /etc/environment

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

set JAVA_HOME thought cmd in Linux

A

echo “JAVA_HOME=$(which java)” | sudo tee -a /etc/environment

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

this ____ will print you PID of process bound on the port

A

fuser 8080/tcp

fuser -k 8080/tcp - will kill that processes

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

restart server from cmd

A

sudo systemctl restart tomcat9

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

how to open folder (current) in terminal?

A

nautilus .

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

tell more about Cron

A

minutes / hours / day of the month / month / day of the week
* - all values
M-N - between values
A, B, Z - several values

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

What is Master in Jenkins?

A

Планировщик задач и основной инстанс Jenkins

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

Can we combine скриптовий и декларативний пайплайн в одном?

A

Можна - це базовий функціонал

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

how to back higher several times instead of
cd ..
cd ..
cd ..

A

cd ../../..

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

print name of current location in Linux cmd

A

pwd

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

What conditions exist in post in Jenkins?

A

Success, Failure, Unstable, Always, Changes

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

What is Snippet Generator?

A

генератор кода для пайплайнів для обраного кроку

17
Q

how to see all my commands entered in cmd? [Linux]

A

history