mirror of
https://github.com/daniviga/qgis3-cd-copr.git
synced 2024-11-22 01:36:13 +01:00
Consider exit code 2 (form --help) as success
This commit is contained in:
parent
677fd28211
commit
9f179a6e69
|
@ -2,6 +2,7 @@
|
|||
# ex: set filetype=python:
|
||||
|
||||
from buildbot.plugins import *
|
||||
from buildbot.process.results import SUCCESS
|
||||
from buildbot.process.properties import Property
|
||||
|
||||
# This is a sample buildmaster config file. It must be installed as
|
||||
|
@ -94,8 +95,8 @@ qgis_install_factory.addStep(steps.ShellCommand(command=["/usr/bin/sudo", "dnf",
|
|||
qgis_install_factory.addStep(steps.ShellCommand(command=["/usr/bin/sudo", "dnf", "install", "--refresh", "-y", "qgis",
|
||||
"python3-qgis", "qgis-server", "qgis-grass"],
|
||||
name="Run DNF"))
|
||||
qgis_install_factory.addStep(steps.ShellCommand(command=["/usr/bin/qgis", "--help", "|| true"],
|
||||
name="Run QGIS"))
|
||||
qgis_install_factory.addStep(steps.ShellCommand(command=["/usr/bin/qgis", "--help"],
|
||||
name="Run QGIS", decodeRC={0:SUCCESS, 2:SUCCESS}))
|
||||
|
||||
# th_factory = util.BuildFactory() # dummy
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user