Commit
084cf51f7c82a5bc6125da8ed78754cdb4e45ab6
by noreplychore(tidb): archive log if test not successful (#3028)
### **User description**
archive log if test not successful, eg test timeout
___
### **PR Type**
enhancement
___
### **Description**
- Modified the post-build action in the `ghpr_mysql_test.groovy`
pipeline script to archive logs if the test is unsuccessful instead of
only on failure.
___
### **Changes walkthrough** 📝
<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Enhancement</strong></td><td><table>
<tr>
<td>
<details>
<summary><strong>ghpr_mysql_test.groovy</strong><dd><code>Archive logs
if test is unsuccessful instead of failure</code>
</dd></summary>
<hr>
pipelines/pingcap/tidb/latest/ghpr_mysql_test.groovy
<li>Changed the post-build action from <code>failure</code> to
<code>unsuccessful</code> for <br>archiving artifacts.<br>
</details>
</td>
<td><a
href="https://github.com/PingCAP-QE/ci/pull/3028/files#diff-1a06f14532e2be1eefc21763f67d1a83b63ab9740c315b30ae4132768be19121">+1/-1</a>
</td>
</tr>
</table></td></tr></tr></tbody></table>
___
> 💡 **PR-Agent usage**:
>Comment `/help` on the PR to get a list of all available PR-Agent tools
and their descriptions
Signed-off-by: purelind <purelind@gmail.com>
(commit: 084cf51)