|
|
@ -19,7 +19,7 @@ import requests
|
|
|
|
from string import Template
|
|
|
|
from string import Template
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class launchpad(object):
|
|
|
|
class jenkins(object):
|
|
|
|
|
|
|
|
|
|
|
|
def __init__(self, log_level=logging.DEBUG):
|
|
|
|
def __init__(self, log_level=logging.DEBUG):
|
|
|
|
|
|
|
|
|
|
|
@ -35,9 +35,10 @@ class launchpad(object):
|
|
|
|
)
|
|
|
|
)
|
|
|
|
|
|
|
|
|
|
|
|
# Jenkins info
|
|
|
|
# Jenkins info
|
|
|
|
self.jenkins_site = lugito.config.CONFIG['jenkins']['site']
|
|
|
|
self.jenkins_site = lugito.config.CONFIG['connectors']['jenkins']\
|
|
|
|
self.jenkins_trigger_url = lugito.config.CONFIG['jenkins']\
|
|
|
|
['site']
|
|
|
|
['template_url']
|
|
|
|
self.jenkins_trigger_url = lugito.config.CONFIG['connectors']\
|
|
|
|
|
|
|
|
['jenkins']['template_url']
|
|
|
|
|
|
|
|
|
|
|
|
self.phab_host = lugito.config.CONFIG['phabricator']['host'].replace(
|
|
|
|
self.phab_host = lugito.config.CONFIG['phabricator']['host'].replace(
|
|
|
|
'api/', '')
|
|
|
|
'api/', '')
|
|
|
|