mirror of
https://github.com/lubuntu-team/lugito.git
synced 2025-03-10 06:31:09 +00:00
Make Jenkins a connector.
This commit is contained in:
parent
5f24aa7375
commit
838fc1d0ec
@ -33,10 +33,6 @@ rQTERMINALPACKAGING = qterminal
|
||||
rLXQTCONFIGPACKAGING = lxqt-config
|
||||
rNMTRAYPACKAGING = nm-tray
|
||||
|
||||
[jenkins]
|
||||
site = https://ci.lubuntu.me
|
||||
template_url = ssh://git@phab.lubuntu.me:2222/source/PACKAGE.git
|
||||
|
||||
[connector.irc]
|
||||
host = irc.freenode.net
|
||||
port = 6697
|
||||
@ -53,6 +49,10 @@ supported_versions =
|
||||
Bionic
|
||||
Xenial
|
||||
Trusty
|
||||
|
||||
[connector.jenkins]
|
||||
site = https://ci.lubuntu.me
|
||||
template_url = ssh://git@phab.lubuntu.me:2222/source/package.git
|
||||
```
|
||||
|
||||
Features
|
||||
|
@ -38,10 +38,6 @@ Temp - Example .lugitorc
|
||||
rLXQTCONFIGPACKAGING = lxqt-config
|
||||
rNMTRAYPACKAGING = nm-tray
|
||||
|
||||
[jenkins]
|
||||
site = https://ci.lubuntu.me
|
||||
template_url = ssh://git@phab.lubuntu.me:2222/source/PACKAGE.git
|
||||
|
||||
[connector.irc]
|
||||
host = irc.freenode.net
|
||||
port = 6697
|
||||
@ -59,6 +55,10 @@ Temp - Example .lugitorc
|
||||
Xenial
|
||||
Trusty
|
||||
|
||||
[connector.jenkins]
|
||||
site = https://ci.lubuntu.me
|
||||
template_url = ssh://git@phab.lubuntu.me:2222/source/PACKAGE.git
|
||||
|
||||
|
||||
|
||||
Features
|
||||
|
@ -19,7 +19,7 @@ import requests
|
||||
from string import Template
|
||||
|
||||
|
||||
class launchpad(object):
|
||||
class jenkins(object):
|
||||
|
||||
def __init__(self, log_level=logging.DEBUG):
|
||||
|
||||
@ -35,9 +35,10 @@ class launchpad(object):
|
||||
)
|
||||
|
||||
# Jenkins info
|
||||
self.jenkins_site = lugito.config.CONFIG['jenkins']['site']
|
||||
self.jenkins_trigger_url = lugito.config.CONFIG['jenkins']\
|
||||
['template_url']
|
||||
self.jenkins_site = lugito.config.CONFIG['connectors']['jenkins']\
|
||||
['site']
|
||||
self.jenkins_trigger_url = lugito.config.CONFIG['connectors']\
|
||||
['jenkins']['template_url']
|
||||
|
||||
self.phab_host = lugito.config.CONFIG['phabricator']['host'].replace(
|
||||
'api/', '')
|
||||
|
Loading…
x
Reference in New Issue
Block a user