forked from cosmin/jenkins-radiator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
75 lines (49 loc) · 2.29 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
This project provides a build pipeline radiator for Jenkins. It
supports separate pipelines from a single Jenkins installation. For
example you can use this to show a pipeline for the mainline of the
application as well as the current release branch.
== Description ==
The radiator is organized around three concepts: builds, smoke tests
and regression tests A build is the first step in the pipeline. Once
it completes it triggers smoke tests. Once smoke tests complete they
trigger regression tests. Smoke tests are identified by "S" while
regression tests are identified by "R".
This is intended to be viewable by an entire team from a distance.
Colors provide a quick way to determine the current state of the
pipeline.
== Colors ==
In progress builds are colored BLUE.
Successful builds are colored GREEN.
Failed or Unstable builds are colored RED.
A build is considered in progress until either a smoke or regression
tests fails or until all smoke and regression tests pass.
== Settings ==
To get started create a settings_local.py under jenkins_radiator/ and
define the following Python variables:
# The full URL to your hudson installation. Example:
HUDSON_URL = 'http://hudson.example.com/hudson/'
# Regex pattern for builds. Example:
HUDSON_BUILD_NAME_PATTERN = '_Build'
# Regex pattern for tests. Example:
HUDSON_TEST_NAME_PATTERN = '_Test_'
# Regex pattern for moke builds. Subset of the above. Example:
HUDSON_SMOKE_NAME_REGEX = re.compile('Smoke|Baseline', re.I)
# Regex pattern for projects to hide from the radiator. Example:
HUDSON_TEST_IGNORE_REGEX = ''
# Default number of build to show in the radiator
HUDSON_BUILD_COUNT = 10
== Dependencies ==
You need to install Django 1.2 or greater. See Option 1 at
http://www.djangoproject.com/download/
The project has no additional dependencies if running under Python
2.6.
== Local development ==
To start the development Django server run python manage.py runserver
from within jenkins_radiator. Now point your browser at
http://localhost:8000/radiator/project_name/ where project_name is the
name of your project.
== Deployment ==
The Django development server is single-threaded and not appropriate
for anything other than simple development. For deployment information
take a look at
http://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/