background
Our company uses jenkins+sonar
continuous integration to check code quality. Recently, the architecture group has added a lot of code scanning rules, which caused many back-end services or unseparated front-end and back-end projects CI
fail. It will take some time to modify sonar
, Affecting the test progress, in order to temporarily deal with this problem, we can temporarily comment out the stage
script of the sonar
test.
Skip sonar
detection
One, interrupt CI
First select CI
, after starting CI
, click “X”
the CI
process
2. Comment out the stage
script for quality verification
Enter "Playback", comment out the "Quality Access Control" stage
script, and then click "Run" at the bottom to restart CI
playback (replay
) : In order to avoid repeatedly opening the configuration interface to adjust thePipeline
script,Jenkins
intimately provides theReplay
function. Open any execution history and click theReplay
Pipeline
script that was executed during the execution, regardless of whether the source of the script is the task itself or a remote warehouse
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。