-
Bug
-
Resolution: Fixed
-
Major
-
None
-
Linux
Jenkins 2.15
Git 2.1.0
Git Client Plugin 1.19.7
Git Parameter Plugin 0.6.1
Steps to reproduce:
1. Commit something to a branch and push the change.
2. Open Jenkins, find job, click "build with parameters".
Expected result:
Branch & Tag select boxes populated with branches and tags.
Actual result:
Sometimes either the branch or tag select box will contain the following, instead of the branches or tags:
Command "git -c core.askpass=true fetch --tags --progress ssh://git@xxx.xxx.xxx:xxx/xxx/my-repo.git +refs/heads/:refs/remotes/origin/ --prune" returned status code 1: stdout: stderr: remote: Counting objects: 4, done. remote: Compressing objects: 25% (1/4) remote: Compressing objects: 50% (2/4) remote: Compressing objects: 75% (3/4) remote: Compressing objects: 100% (4/4) remote: Compressing objects: 100% (4/4), done. remote: Total 4 (delta 2), reused 0 (delta 0) error: Ref refs/remotes/origin/master is at b6c13d7cb555cbbaaa7d35484e50d59d5d4dc9be but expected d5e92cdff22d793bde120875eaf78d62894ec213 From ssh://xxx.xxx.xxx:xxx/xxx/my-repo ! d5e92cd..b6c13d7 master -> origin/master (unable to update local ref) Pleas look to log!
Workaround:
Reload the "build with parameters" page.