mirror of
https://github.com/QuasarApp/QuasarAppCI.git
synced 2025-05-05 17:59:38 +00:00
steps
This commit is contained in:
parent
5553e1fbef
commit
0ff555d92d
@ -269,30 +269,31 @@ class Make(BaseModule):
|
|||||||
def doForce(steps):
|
def doForce(steps):
|
||||||
return getPreviousStepStatus(steps)
|
return getPreviousStepStatus(steps)
|
||||||
|
|
||||||
factory.addStep(
|
factory.addSteps([
|
||||||
steps.Git(
|
steps.Git(
|
||||||
repourl=util.Interpolate('%(prop:repository)s'),
|
repourl=util.Interpolate('%(prop:repository)s'),
|
||||||
branch=util.Interpolate('%(prop:branch)s'),
|
branch=util.Interpolate('%(prop:branch)s'),
|
||||||
mode='full',
|
mode='full',
|
||||||
method='fresh',
|
method='fresh',
|
||||||
submodules=True,
|
submodules=True,
|
||||||
warnOnFailure=True,
|
warnOnFailure=True,
|
||||||
haltOnFailure=False,
|
haltOnFailure=False,
|
||||||
name='git operations',
|
name='git operations',
|
||||||
description='operations of git like pull clone fetch',
|
description='operations of git like pull clone fetch',
|
||||||
),
|
),
|
||||||
|
|
||||||
steps.Git(
|
steps.Git(
|
||||||
repourl=util.Interpolate('%(prop:repository)s'),
|
repourl=util.Interpolate('%(prop:repository)s'),
|
||||||
branch=util.Interpolate('%(prop:branch)s'),
|
branch=util.Interpolate('%(prop:branch)s'),
|
||||||
mode='full',
|
mode='full',
|
||||||
method='clobber',
|
method='clobber',
|
||||||
submodules=True,
|
submodules=True,
|
||||||
name='git operations force',
|
name='git operations force',
|
||||||
doStepIf=doForce,
|
doStepIf=doForce,
|
||||||
description='operations of git like pull clone' +
|
description='operations of git like pull clone' +
|
||||||
'fetch (force remove all old data)',
|
'fetch (force remove all old data)',
|
||||||
)
|
)
|
||||||
|
]
|
||||||
)
|
)
|
||||||
|
|
||||||
# factory.addStep(self.checkSupportedBuildSystems())
|
# factory.addStep(self.checkSupportedBuildSystems())
|
||||||
|
Loading…
x
Reference in New Issue
Block a user