adiesner / bitbucket-pr-coverage-status-plugin

Apache License 2.0
4 stars 4 forks source link

No option "Publish coverage to bitbucket" on Branch API #15

Open JorisvanRoy opened 2 years ago

JorisvanRoy commented 2 years ago

Hi,

I dont have an option for publishing the coverage to bitbucket. I have the Branch API plugin installed, version 2.6.5. What could cause this issue? I cant find a way to fix it...

adiesner commented 2 years ago

Hi Joris,

just for the public, I also post the information here that I just sent you via email.

It is about 4 years ago that I have last been using this plugin. We migrated from Bitbucket to Github and after a while also away from Jenkins. So no more active development on my side for this.

I wasn't able to reproduce your issue. What I did to test the plugin was:

cat docker-compose.yml

version: '3'
services:
  application:
    container_name: jenkins-test
    image: jenkins/jenkins
    ports:
     - "8080:8080"
    restart: always
    volumes:
        - .jenkins_home:/var/jenkins_home

Execute jenkins:

mkdir .jenkins_home && chmod 777 .jenkins_home
docker-compose up

After the default plugin installation I installed this plugin via:

And then I created a test job where I can select the "Publish coverate to bitbucket" step: image

From the screenshot you sent me via email it looks like you have also installed the plugin which was the base for this plugin. I forked this project from github-pr-coverage-status-plugin which might be conflicting with this plugin. You might want to try to uninstall this.

I hope this helps. Andreas