jenkins-job-builder/tests/publishers/fixtures/gitlab-message-full.xml
vgorin 29a8ad7683 Add publishers related to GitLab Plugin
Currently we have only possibility to set build status on GitLab
But GitLab Plugin provides us to make a comments and to vote on Merge Request
* Add Gitlab Message - configure Gitlab publisher to post comments on MR
* Add Gitlab Vote - jenkins set Vote for build status on GitLab MR

Change-Id: I30d2fbed647763f2a5eb6fb801dd79f6d43d4696
Co-Authored-By: Kien Ha <kienha9922@gmail.com>
Signed-off-by: Kien Ha <kienha9922@gmail.com>
2018-06-19 18:39:35 -04:00

17 lines
748 B
XML

<?xml version="1.0" encoding="utf-8"?>
<project>
<publishers>
<com.dabsquared.gitlabjenkins.publisher.GitLabMessagePublisher plugin="gitlab-plugin">
<onlyForFailure>true</onlyForFailure>
<replaceSuccessNote>true</replaceSuccessNote>
<replaceFailureNote>true</replaceFailureNote>
<replaceAbortNote>true</replaceAbortNote>
<replaceUnstableNote>true</replaceUnstableNote>
<successNoteText>SUCCESS</successNoteText>
<failureNoteText>Build was failed. See log on Jenkins</failureNoteText>
<abortNoteText>Build was aborted</abortNoteText>
<unstableNoteText>The build is unstable</unstableNoteText>
</com.dabsquared.gitlabjenkins.publisher.GitLabMessagePublisher>
</publishers>
</project>