mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-01 07:54:44 +00:00
fixed location of the qif repository
This commit is contained in:
parent
dfb70bee63
commit
a2f90e1e06
@ -101,3 +101,6 @@ class BaseModule:
|
|||||||
else:
|
else:
|
||||||
command.extend(['-j', '1'])
|
command.extend(['-j', '1'])
|
||||||
return command
|
return command
|
||||||
|
|
||||||
|
def defaultLocationOfQIFRepository(self):
|
||||||
|
return "/var/www/repo/"
|
||||||
|
@ -240,13 +240,18 @@ class Make(BaseModule):
|
|||||||
repo = str(props.getProperty('repository'))
|
repo = str(props.getProperty('repository'))
|
||||||
return self.getNameProjectFromGitUrl(repo)
|
return self.getNameProjectFromGitUrl(repo)
|
||||||
|
|
||||||
|
@util.renderer
|
||||||
|
def repoLocation(props):
|
||||||
|
return self.defaultLocationOfQIFRepository()
|
||||||
|
|
||||||
res += [steps.Trigger(schedulerNames=['repogen'],
|
res += [steps.Trigger(schedulerNames=['repogen'],
|
||||||
doStepIf=lambda step:
|
doStepIf=lambda step:
|
||||||
self.isRelease(step) and
|
self.isRelease(step) and
|
||||||
self.isSupport(step),
|
self.isSupport(step),
|
||||||
set_properties={"tempPackage": tempDirProp,
|
set_properties={"tempPackage": tempDirProp,
|
||||||
"platform": platform,
|
"platform": platform,
|
||||||
"projectName": projectName}
|
"projectName": projectName,
|
||||||
|
"repoLocation": repoLocation}
|
||||||
)]
|
)]
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
@ -107,6 +107,6 @@ class QIFRepogen (BaseModule):
|
|||||||
util.StringParameter(
|
util.StringParameter(
|
||||||
name='repoLocation',
|
name='repoLocation',
|
||||||
label='repository location',
|
label='repository location',
|
||||||
default="/var/www/repo/"
|
default=defaultLocationOfQIFRepository()
|
||||||
),
|
),
|
||||||
]
|
]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user