1
0
mirror of https://github.com/daniviga/qgis3-cd-copr.git synced 2024-12-23 05:31:25 +01:00

Consider exit code 2 (form --help) as success

This commit is contained in:
Daniele Viganò 2017-10-25 16:59:41 +02:00
parent 677fd28211
commit 9f179a6e69

View File

@ -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