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

Cannot discover Bitbucket repository path using commit

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • bitbucket-plugin
    • None

      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']] ] ) }

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

            tzach_solomon Tzach Solomon
            umeshrama Umesh Ramanna
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: