diff --git a/jenkins/scripts/project-requirements-change.py b/jenkins/scripts/project-requirements-change.py index 5ed5f28d60..378f967949 100755 --- a/jenkins/scripts/project-requirements-change.py +++ b/jenkins/scripts/project-requirements-change.py @@ -252,8 +252,6 @@ def main(): # report the results if failed or head_reqs.failed or branch_reqs.failed: - print("*** Incompatible requirement found") - print("*** See http://docs.openstack.org/developer/requirements/") sys.exit(1) print("Updated requirements match openstack/requirements.") diff --git a/zuul/layout.yaml b/zuul/layout.yaml index f8368aa4ed..ccdea3d8c4 100755 --- a/zuul/layout.yaml +++ b/zuul/layout.yaml @@ -1808,6 +1808,7 @@ jobs: branch: ^(?!master).*$ - name: ^gate-.*-requirements$ + failure-message: Incompatible requirement found; see http://docs.openstack.org/developer/requirements/ files: - '^tools/.*-requires$' - '^.*requirements.txt$'