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

scan multibranch pipeline not detecting branches

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • bitbucket-plugin
    • None

      I have created multibranch pipeline for Bitbucket repository , i has serveral branches and tags however Jenkins scan is only detecting the tags alone its doing skip for branches . 

      I behaviour i have already added 

      Discover branches
      Discover pull requests from origin
      Discover tags
       

      [Tue Sep 27 21:22:12 PDT 2022] Starting branch indexing...
      Connecting to  using This is a service account has read and write access to MDM project on bitbucket.
      Repository type: Git
      Looking up MDM/mdm-prometheus for branches
      Checking branch master from MDM/mdm-prometheus
          Skipped
      Checking branch testing from MDM/mdm-prometheus
          Skipped
      
        2 branches were processed
      Looking up MDM/mdm-prometheus for pull requests
      
        0 pull requests were processed
      [Tue Sep 27 21:22:13 PDT 2022] Finished branch indexing. Indexing took 1.2 sec
      Finished: SUCCESS 

          [JENKINS-69718] scan multibranch pipeline not detecting branches

          Uttam Kumar Panda created issue -
          Uttam Kumar Panda made changes -
          Description Original: I have created multibranch pipeline for Bitbucket repository , i has serveral branches and tags however Jenkins scan is only detecting the tags alone its doing skip for branches . 

          I behaviour i have already added 

          *Discover branches*

           

           
          {code:java}
          [Tue Sep 27 21:22:12 PDT 2022] Starting branch indexing...
          Connecting to using This is a service account has read and write access to MDM project on bitbucket.
          Repository type: Git
          Looking up MDM/mdm-prometheus for branches
          Checking branch master from MDM/mdm-prometheus
              Skipped
          Checking branch testing from MDM/mdm-prometheus
              Skipped

            2 branches were processed
          Looking up MDM/mdm-prometheus for pull requests

            0 pull requests were processed
          [Tue Sep 27 21:22:13 PDT 2022] Finished branch indexing. Indexing took 1.2 sec
          Finished: SUCCESS {code}
          New: I have created multibranch pipeline for Bitbucket repository , i has serveral branches and tags however Jenkins scan is only detecting the tags alone its doing skip for branches . 

          I behaviour i have already added 

          *Discover branches*
          *Discover pull requests from origin*
          *Discover tags*
           
          {code:java}
          [Tue Sep 27 21:22:12 PDT 2022] Starting branch indexing...
          Connecting to using This is a service account has read and write access to MDM project on bitbucket.
          Repository type: Git
          Looking up MDM/mdm-prometheus for branches
          Checking branch master from MDM/mdm-prometheus
              Skipped
          Checking branch testing from MDM/mdm-prometheus
              Skipped

            2 branches were processed
          Looking up MDM/mdm-prometheus for pull requests

            0 pull requests were processed
          [Tue Sep 27 21:22:13 PDT 2022] Finished branch indexing. Indexing took 1.2 sec
          Finished: SUCCESS {code}

            Unassigned Unassigned
            uttamkrpanda Uttam Kumar Panda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: