Bitbucket [Cloud] Comment Reporter - MegaLinter via Jenkins #4471
jdutchovercfsb
started this conversation in
General
Replies: 1 comment 2 replies
-
@jdutchovercfsb thanks for using MegaLinter :) Bitbucket comments reporter has been made to work with bitbucket pipelines, which sends predefined env variables like:
So if you want it to work you need to define these variables so they are available to MegaLinter image Is the use of Jenkins mandatory ? If you can switch to bitbucket pipelines it will work out of the box :) |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi everyone,
I'm currently using MegaLinter in a Jenkins Cloud environment and I'm trying to utilize the Bitbucket Pull Request Comment reporter (BitbucketCommentReporter). However, I'm facing issues with getting the Bitbucket PR comments to append after running the Jenkins job.
Here are the details of my setup:
MegaLinter: Running in Jenkins (hosted)
Bitbucket: Using Bitbucket Cloud
Jenkins to Bitbucket Integration: Using the Bitbucket plugin for Jenkins
It seems like the BitbucketCommentReporter might not be supported with Bitbucket Cloud, but I'm not entirely sure. Has anyone successfully integrated MegaLinter with Bitbucket Cloud for PR comments? If so, could you share your configuration or any tips on how to get this working? I have used this Jenkinsfile as a starting point, as well as the necessary token and scopes for Bitbucket.
Any help or guidance would be greatly appreciated!
Thanks in advance!
John
Beta Was this translation helpful? Give feedback.
All reactions