1 | initial version |
Jenksinfile can use Gerrit's plugin to post a comment consisting of multiple lines by following these steps:
For example, if Jenksinfile wants to add the following multi-line comment:
code block needs improvement:
- The variable names are not clear.
- The logic is not easy to follow.
- The code is not optimized.
Please address these issues before merging.
They can enter the comment text like this:
This code block needs improvement:\n
- The variable names are not clear.\n
- The logic is not easy to follow.\n
- The code is not optimized.\n
Please address these issues before merging.
The '\n' character creates a new line for each bullet point, making the comment text more readable.