jenkinsci / jenkinsci/git-plugin
[JENKINS-46588] Pipeline Branch Specifier "blank for 'any'" fails
- Dominant language
- Java
- Stars
- 694
- Forks
- 1.1k
- Avg merge
- 1h 29m
- Merged PRs (30d)
- 3
Description
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
---
Originally reported by flopic, imported from: Pipeline Branch Specifier "blank for 'any'" fails
Raw content of original issue
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 detailsis there any other way to build all branches?
Work around the issue by disabling lightweight checkout in the job definition
- environment:
Jenkins ver. 2.60.3 and 2.73.1
2 attachments
- [Config_pipeline.JPG](https://issues.jenkins.io/secure/attachment/39552/Config_pipeline.JPG)
> 
- [brancherror.JPG](https://issues.jenkins.io/secure/attachment/39553/brancherror.JPG)
> 
Contributor guide
Assessment
This issue has not been assessed yet.