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

Pipeline Branch Specifier "blank for 'any'" fails

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Minor Minor
    • git-plugin
    • Jenkins ver. 2.60.3 and 2.73.1

      In Pipeline Job, "Branches to build configuration" it's said "blanck for any" but it fails when I manually trigger the build with :
      java.lang.IllegalArgumentException: Invalid refspec refs/heads/**
      see screen shots for more details

      is there any other way to build all branches?

      Work around the issue by disabling lightweight checkout in the job definition

          [JENKINS-46588] Pipeline Branch Specifier "blank for 'any'" fails

          Flo Pic created issue -
          Adrien Lecharpentier made changes -
          Component/s New: git-plugin [ 15543 ]
          Component/s Original: pipeline [ 21692 ]
          Nathaniel Irons made changes -
          Environment Original: Jenkins ver. 2.60.3 New: Jenkins ver. 2.60.3 and 2.70.1
          Nathaniel Irons made changes -
          Environment Original: Jenkins ver. 2.60.3 and 2.70.1 New: Jenkins ver. 2.60.3 and 2.73.1
          Flo Pic made changes -
          Status Original: Open [ 1 ] New: In Progress [ 3 ]
          Mark Waite made changes -
          Status Original: In Progress [ 3 ] New: Open [ 1 ]
          Mark Waite made changes -
          Priority Original: Blocker [ 1 ] New: Minor [ 4 ]
          Mark Waite made changes -
          Description Original: In Pipeline Job, "Branches to build configuration" it's said "blanck for any" but it fails when I manually trigger the build with :
          java.lang.IllegalArgumentException: Invalid refspec refs/heads/**
          see screen shots for more details



          is there any other way to build all branches?
          New: In Pipeline Job, "Branches to build configuration" it's said "blanck for any" but it fails when I manually trigger the build with :
          java.lang.IllegalArgumentException: Invalid refspec refs/heads/**
          see screen shots for more details

          is there any other way to build all branches?

          *Work around the issue by disabling lightweight checkout in the job definition*

            Unassigned Unassigned
            flopic Flo Pic
            Votes:
            7 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated: