-
Bug
-
Resolution: Unresolved
-
Major
-
None
-
Jenkins 2.190.1
GitLab Plugin 1.5.13
GitLab Branch Source Plugin 1.4.1
Adding comment from Jenkinsfile during building Merge Request in Gitlab does not work.
Jenkins job is created using Gitlab Branch Source plugin. The job type is Gitlab Group.
When
addGitLabMRComment
step is run gitlab MR comment is not added as expected and there is no error in build log.
Sample Jenkinsfile to replicate this problem:
pipeline { agent any stages { stage('Build') { steps { addGitLabMRComment comment: 'Test comment' } } } }
[JENKINS-60530] Adding gitlab MR comment from Jenkinsfile does not work
Priority | Original: Critical [ 2 ] | New: Major [ 3 ] |
Comment | [ This is a common error when you do not update to the new version so update to the latest version to fix this problem. [mapquest directions|https://mapquestdirections.org] ] |
Comment |
[ Try adding some debug statements to your Jenkinsfile to see if the step is being executed at all. For example, you could add a println statement to output a message to the console.
[mapquest driving directions|https://mapquestdrivingdirections.app/] ] |
Comment |
[ Spam comment
] |
Comment | [ Spam comment ] |