
Key: |
QB-3809
|
Type: |
Bug
|
Status: |
Closed
|
Resolution: |
Fixed
|
Priority: |
Major
|
Assignee: |
Robin Shen
|
Reporter: |
Steve Luo
|
Votes: |
1
|
Watchers: |
0
|
If you were logged in you would be able to see more operations.
|
|
|
QuickBuild
Created: 20/Dec/21 05:53 PM
Updated: 24/Dec/21 04:29 PM
|
|
Component/s: |
None
|
Affects Version/s: |
None
|
Fix Version/s: |
11.0.26
|
|
Original Estimate:
|
Unknown
|
Remaining Estimate:
|
Unknown
|
Time Spent:
|
Unknown
|
|
When configuration has 2 or more defined repositories on GitHub (or even Git) and build is triggered via GitHub webhook, all repositories are checked out on pull request number.
Steps to reproduce:
1. Create new configuration
2. Create GitHub Repository abc, without pull requests, on specified branch (e.g. main)
3. Create GitHub repository xyz, with Pull request setting Specified Pull Requests, Type Merge, Ids equal to ${vars.getValue("pr_number")}
4. Create GitHub Webhook with variable pr_number = ${groovy: delivery.pull_request.number }
5. On repository xyz create Pull Request and send webhook to QuickBuild
Expected result:
- repository abc is checked out on specified branch,as it's not contains
Actual result:
- repository abc cannot be cloned, error: 'fatal: couldn't find remote ref refs/pull/<pull request number>/merge'
Workaround:
- fill in Commit or tag to build with HEAD (or valid tag or commit sha)
|
Description
|
When configuration has 2 or more defined repositories on GitHub (or even Git) and build is triggered via GitHub webhook, all repositories are checked out on pull request number.
Steps to reproduce:
1. Create new configuration
2. Create GitHub Repository abc, without pull requests, on specified branch (e.g. main)
3. Create GitHub repository xyz, with Pull request setting Specified Pull Requests, Type Merge, Ids equal to ${vars.getValue("pr_number")}
4. Create GitHub Webhook with variable pr_number = ${groovy: delivery.pull_request.number }
5. On repository xyz create Pull Request and send webhook to QuickBuild
Expected result:
- repository abc is checked out on specified branch,as it's not contains
Actual result:
- repository abc cannot be cloned, error: 'fatal: couldn't find remote ref refs/pull/<pull request number>/merge'
Workaround:
- fill in Commit or tag to build with HEAD (or valid tag or commit sha)
|
Show » |
No work has yet been logged on this issue.
|
|