Make Jenkins a connector.

pull/1/head
Simon Quigley 6 years ago
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…
Cancel
Save