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

Cannot discover Bitbucket repository path using commit

    Details

    • Similar Issues:

      Description

      Pipeline script to checkout code from bit-bucket repository.

      Jenkins build was successfully after pushing code to bit-bucket remote repository,
      while checking the recent changes under Jenkins, we have clicked on Recent Changes -> githubweb link

      the page is navigated to bit-bucket repository with 404 error.

      please find the attachment, for more details

       

      node('master') {

          stage('Mirror Repository')

      {              println "calling git clone........ "              checkout( [$class: 'GitSCM', branches: [[name: '*/master']],                              browser: [$class: 'GithubWeb', repoUrl: 'https://bitbucket.com/projects/DEV/repos/module-one'],                              doGenerateSubmoduleConfigurations: false,                              extensions: [ [$class: 'CloneOption', depth: 0, noTags: false, reference: '/var/jenkins_home/workspace/Bitbucket_Repo/module-one.git', shallow: false, timeout: 1], [$class: 'CleanBeforeCheckout'], [$class: 'PruneStaleBranch'], [$class: 'AuthorInChangelog'] ], gitTool: 'Default', submoduleCfg: [], userRemoteConfigs: [[credentialsId: 'xxxx-xxxx-xxxx-00', url: 'https://bitbucket.com/scm/dev/module-one.git']] ] ) }

        Attachments

        1. 1.png
          1.png
          10 kB
        2. 2.png
          2.png
          10 kB
        3. 3.png
          3.png
          5 kB

          Activity

          There are no comments yet on this issue.

            People

            • Assignee:
              Unassigned
              Reporter:
              umeshrama Umesh Ramanna
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated: