Исправление экранирования названия уведомления. Исправление парсинга старых пайпов.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
aa4f1ebb8a
commit
f58258107f
@ -149,7 +149,7 @@ public class PipelineParser {
|
|||||||
.projectId(pipeline.getProjectId())
|
.projectId(pipeline.getProjectId())
|
||||||
.pipelineId(pipeline.getId())
|
.pipelineId(pipeline.getId())
|
||||||
.urlPipeline(gitlabProperty.getPipelineUrl())
|
.urlPipeline(gitlabProperty.getPipelineUrl())
|
||||||
.gitlabToken(gitlabProperty.getPipelineUrl())
|
.gitlabToken(personProperty.getToken())
|
||||||
.build()
|
.build()
|
||||||
)
|
)
|
||||||
.map(forkJoinPool::submit)
|
.map(forkJoinPool::submit)
|
||||||
|
@ -32,7 +32,7 @@ public class NewMrForAssigneeNotifyGenerator implements NotifyBoxAnswerGenerator
|
|||||||
|
|
||||||
final StringBuilder builder = new StringBuilder(Icons.ASSIGNEE).append(" *You have become responsible*")
|
final StringBuilder builder = new StringBuilder(Icons.ASSIGNEE).append(" *You have become responsible*")
|
||||||
.append(Icons.HR)
|
.append(Icons.HR)
|
||||||
.append(notify.getTitle());
|
.append(escapeMarkdown(notify.getTitle()));
|
||||||
|
|
||||||
if (!labelText.isEmpty()) {
|
if (!labelText.isEmpty()) {
|
||||||
builder.append("\n\n").append(labelText);
|
builder.append("\n\n").append(labelText);
|
||||||
|
@ -26,7 +26,7 @@ public class UpdateMrNotifyGenerator implements NotifyBoxAnswerGenerator<UpdateM
|
|||||||
|
|
||||||
final StringBuilder builder = new StringBuilder(Icons.UPDATE).append(" *MergeRequest update*")
|
final StringBuilder builder = new StringBuilder(Icons.UPDATE).append(" *MergeRequest update*")
|
||||||
.append(Icons.HR)
|
.append(Icons.HR)
|
||||||
.append(notify.getTitle());
|
.append(escapeMarkdown(notify.getTitle()));
|
||||||
|
|
||||||
if (checkNotBlank(notify.getComment())) {
|
if (checkNotBlank(notify.getComment())) {
|
||||||
builder.append(Icons.HR)
|
builder.append(Icons.HR)
|
||||||
|
Loading…
Reference in New Issue
Block a user