Исправление экранирования названия уведомления. Исправление парсинга старых пайпов.
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Struchkov Mark 2024-08-22 12:15:38 +03:00
parent aa4f1ebb8a
commit f58258107f
No known key found for this signature in database
GPG Key ID: A3F0AC3F0FA52F3C
3 changed files with 3 additions and 3 deletions

View File

@ -149,7 +149,7 @@ public class PipelineParser {
.projectId(pipeline.getProjectId())
.pipelineId(pipeline.getId())
.urlPipeline(gitlabProperty.getPipelineUrl())
.gitlabToken(gitlabProperty.getPipelineUrl())
.gitlabToken(personProperty.getToken())
.build()
)
.map(forkJoinPool::submit)

View File

@ -32,7 +32,7 @@ public class NewMrForAssigneeNotifyGenerator implements NotifyBoxAnswerGenerator
final StringBuilder builder = new StringBuilder(Icons.ASSIGNEE).append(" *You have become responsible*")
.append(Icons.HR)
.append(notify.getTitle());
.append(escapeMarkdown(notify.getTitle()));
if (!labelText.isEmpty()) {
builder.append("\n\n").append(labelText);

View File

@ -26,7 +26,7 @@ public class UpdateMrNotifyGenerator implements NotifyBoxAnswerGenerator<UpdateM
final StringBuilder builder = new StringBuilder(Icons.UPDATE).append(" *MergeRequest update*")
.append(Icons.HR)
.append(notify.getTitle());
.append(escapeMarkdown(notify.getTitle()));
if (checkNotBlank(notify.getComment())) {
builder.append(Icons.HR)