diff options
author | Oliver Smith <osmith@sysmocom.de> | 2022-10-18 14:17:39 +0200 |
---|---|---|
committer | osmith <osmith@sysmocom.de> | 2022-10-21 08:34:15 +0000 |
commit | 1cd0685b55d70a216c67338d228221e6cb044300 (patch) | |
tree | ca8365f0749265296939182e626d179aa56d95f3 | |
parent | 1259ab99c6fb97fd17095935b429985b6f6b9b76 (diff) |
jenkins-gerrit: add note for build fails/pkgs pass
One might be wondering what happened if the build job failed, but
building the binary packages succeeded. Since we run 'make check' in
all cases. Add this short explanation:
The build job(s) failed, but deb/rpm jobs passed.
We don't enable external/vty tests when building
packages, so maybe those failed. Check the logs.
Related: OS#2385
Change-Id: I70027ec970a220c3ddfa766302faec7bd8752118
-rwxr-xr-x | scripts/jenkins-gerrit/pipeline_summary.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/scripts/jenkins-gerrit/pipeline_summary.py b/scripts/jenkins-gerrit/pipeline_summary.py index a47ab7c..95ae821 100755 --- a/scripts/jenkins-gerrit/pipeline_summary.py +++ b/scripts/jenkins-gerrit/pipeline_summary.py @@ -156,6 +156,14 @@ def get_pipeline_summary(build_url): summary += f"{len(jobs['passed'])} passed:\n" summary += get_jobs_list_str(jobs["passed"]) + if "build" in pipeline and "deb" in pipeline and "rpm" in pipeline and \ + not pipeline["build"]["passed"] and pipeline["deb"]["passed"] \ + and pipeline["rpm"]["passed"]: + summary += "\n" + summary += "The build job(s) failed, but deb/rpm jobs passed.\n" + summary += "We don't enable external/vty tests when building\n" + summary += "packages, so maybe those failed. Check the logs.\n" + if "lint" in pipeline and not pipeline["lint"]["passed"]: summary += "\n" summary += "Please fix the linting errors. More information:\n" |