-
Bug
-
Resolution: Cannot Reproduce
-
Minor
-
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']] ] ) }