Skip to content
This repository was archived by the owner on Oct 18, 2018. It is now read-only.

Commit a2abdb8

Browse files
author
alex89
committed
add - 14-ci-cd lecture addition
1 parent 1594401 commit a2abdb8

File tree

2 files changed

+32
-1
lines changed

2 files changed

+32
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,6 @@
1818

1919
- [Lesson 12 - Mobile app testing intro](shtya16/12-mobile-app-testing-intro.md)
2020

21-
- [Lesson 13 - Intro to mobile autotests](shtya16/13-intro-to-mobile-autotests.md)
21+
- [Lesson 13 - Intro to mobile autotests](shtya16/13-intro-to-mobile-autotests.md)
22+
23+
- [Lesson 14 - Continuous Integration](shtya16/14-ci-cd.md)

shtya16/14-ci-cd.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Инструменты непрерывной интеграции
2+
3+
### Презентация
4+
5+
[Слайды](https://speakerdeck.com/pleskav/cd-lecture)
6+
7+
### Практика
8+
9+
#### Что нужно сделать?
10+
11+
Создать задачу, которая будет делать следующее
12+
- клонировать код из репозитория https://github.com/autoschool/practice2016.git
13+
- запускать системные автотесты
14+
- строить отчет c помощью Allure Jenkins Plugin
15+
16+
#### Шаги (Windows)
17+
18+
1. Скачиваем jenkins.war
19+
2. Запускаем дженкинс
20+
`java -Dhudson.model.DirectoryBrowserSupport.CSP="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';" -Djenkins.model.DirectoryBrowserSupport.CSP="default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline';" -jar jenkins.war --httpPort=9090`
21+
22+
3. Добавляем плагины `Allure Jenkins Plugin` , `Git plugin`
23+
и настраиваем [Allure Jenkins Plugin](https://wiki.jenkins-ci.org/display/JENKINS/Allure+Plugin)
24+
25+
4. Создаем задачу
26+
Задачу нужно научить делать следующее
27+
- клонировать код из репозитория `https://github.com/autoschool/practice2016.git`
28+
- запускать системные автотесты
29+
- строить отчет c помощью `Allure Jenkins Plugin`

0 commit comments

Comments
 (0)