Unverified Commit 27b3cd87 authored by Hongzhi (Steve), Chen's avatar Hongzhi (Steve), Chen Committed by GitHub
Browse files
parent b8ed4d9b
...@@ -17,7 +17,7 @@ for stage in response["stages"]: ...@@ -17,7 +17,7 @@ for stage in response["stages"]:
# https://javadoc.jenkins.io/plugin/pipeline-graph-analysis/org/jenkinsci/plugins/workflow/pipelinegraphanalysis/GenericStatus.html # https://javadoc.jenkins.io/plugin/pipeline-graph-analysis/org/jenkinsci/plugins/workflow/pipelinegraphanalysis/GenericStatus.html
if stage["status"] in ["FAILED", "ABORTED"]: if stage["status"] in ["FAILED", "ABORTED"]:
stage_name = stage["name"] stage_name = stage["name"]
status_output = f"❌ CI test [{status}] in Stage [{stage_name}]." status_output = f"❌ CI test failed in Stage [{stage_name}]."
break break
comment = f""" comment = f"""
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment