diff options
author | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-07 09:39:41 +0100 |
---|---|---|
committer | Ismaël Bouya <ismael.bouya@normalesup.org> | 2019-03-07 09:39:41 +0100 |
commit | bf1f1f479980fa2680b3616f48fcfad8fd00f39c (patch) | |
tree | 62e9a005bcce53872f7e605aad9d05a6baf557ce /buildbot_buildslist/__init__.py | |
download | buildslist-bf1f1f479980fa2680b3616f48fcfad8fd00f39c.tar.gz buildslist-bf1f1f479980fa2680b3616f48fcfad8fd00f39c.tar.zst buildslist-bf1f1f479980fa2680b3616f48fcfad8fd00f39c.zip |
Initial commit
Diffstat (limited to 'buildbot_buildslist/__init__.py')
-rw-r--r-- | buildbot_buildslist/__init__.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/buildbot_buildslist/__init__.py b/buildbot_buildslist/__init__.py new file mode 100644 index 0000000..8b06937 --- /dev/null +++ b/buildbot_buildslist/__init__.py | |||
@@ -0,0 +1,15 @@ | |||
1 | from buildbot.www.plugin import Application | ||
2 | from buildbot.schedulers.forcesched import ChoiceStringParameter | ||
3 | |||
4 | class BuildsList(ChoiceStringParameter): | ||
5 | type = "buildslist" | ||
6 | |||
7 | def __init__(self, **kw): | ||
8 | kw["strict"] = False | ||
9 | super().__init__(**kw) | ||
10 | |||
11 | def validateProperties(self, collector, properties): | ||
12 | pass | ||
13 | |||
14 | |||
15 | ep = Application(__name__, "Buildbot builds list") | ||