Исправление экранирования названия уведомления. Исправление парсинга старых пайпов.
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()) .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)

View File

@ -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);

View File

@ -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)