Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-33989

Link to the bitbucket project on the sidebar + change links

      Hello !

      We've been using github for a while, part of the setup of a new job was to feed the job with 'Repository URL' and the 'GitHub project' fields.

      Out of the box once you had filled the 'GitHub project' field, you got a link on the job page (see screenshot)
      As an added bonus, all the links in the Changes page point to the actual diff in github, granted you left 'Repository browser' to Auto.

      The bitbucket plugin are missing those features, I can get the links for the diffs if I set 'Repository browser' with the right value (pick bitbucketweb, enter value), but no link to the project.

      Similarly #JENKINS-32186 was onto something, if you set the Repository browser to the home page of your bitbucket project, the commit links are 404, the bitbucketweb ones are 200:

      https://my_stash.com/projects/my_project/repos/my_repo/commit/8[...]2a6 --> 404
      https://my_stash.com/projects/my_project/repos/my_repo/commits/8[...]2a6 --> 200

          [JENKINS-33989] Link to the bitbucket project on the sidebar + change links

          Pablo Padilla added a comment -

          At first thought I was just missing some configuration until I found this issue. I'm not ruling out that I just misconfigured something so I'm keeping the question open Changed file broken link for Bitbucket Server

          Pablo Padilla added a comment - At first thought I was just missing some configuration until I found this issue. I'm not ruling out that I just misconfigured something so I'm keeping the question open  Changed file broken link for Bitbucket Server

          Kalle Niemitalo added a comment - - edited

          pgpbpadilla, I don’t think this is the right issue for you. In the Stack Overflow question, you wrote that you use the BitBucket Server Integration plugin. That would be the atlassian-bitbucket-server-integration-plugin component. This issue is for the bitbucket-plugin component, i.e. the Bitbucket plugin.

          Perhaps JENKINS-63071 matches your problem.

          Kalle Niemitalo added a comment - - edited pgpbpadilla , I don’t think this is the right issue for you. In the Stack Overflow question, you wrote that you use the BitBucket Server Integration plugin. That would be the atlassian-bitbucket-server-integration-plugin component. This issue is for the bitbucket-plugin component, i.e. the Bitbucket plugin. Perhaps JENKINS-63071 matches your problem.

          Pablo Padilla added a comment -

          Indeed kon, you're right. I will take a look over there. Thanks for the pointer.

          Pablo Padilla added a comment - Indeed kon , you're right. I will take a look over there. Thanks for the pointer.

          tzach_solomon, why did you change the component to atlassian-bitbucket-server-integration-plugin? This issue was reported in 2016, long before atlassian-bitbucket-server-integration-plugin was first released in 2019, so I don't think that plugin is what the reporter meant.

          Besides, atlassian-bitbucket-server-integration-plugin makes sidebar links already:

          • In a multibranch project, "Browse Repository" points to the main page of the repository.
          • In a branch job of a multibranch project, "View Branch" points to a comparison between that branch and the default branch.
          • In a build of a branch job, there is no link.

          Kalle Niemitalo added a comment - tzach_solomon , why did you change the component to atlassian-bitbucket-server-integration-plugin? This issue was reported in 2016, long before atlassian-bitbucket-server-integration-plugin was first released in 2019, so I don't think that plugin is what the reporter meant. Besides, atlassian-bitbucket-server-integration-plugin makes sidebar links already: In a multibranch project, "Browse Repository" points to the main page of the repository. In a branch job of a multibranch project, "View Branch" points to a comparison between that branch and the default branch. In a build of a branch job, there is no link.

          Tzach Solomon added a comment -

          kon thanks for the clarification, I've read it wrong.
          I'm undoing my change...

          Tzach Solomon added a comment - kon thanks for the clarification, I've read it wrong. I'm undoing my change...

            Unassigned Unassigned
            jnrg Julien R.
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated: