jenkinsci / jenkinsci/workflow-multibranch-plugin
[JENKINS-68344] Setting the strategy for discovery to "Merging the PR with the current target branch revision" with git-lfs sources fails.
- Dominant language
- Java
- Stars
- 87
- Forks
- 131
- PR merge metrics
- No merged PRs in 30d
Description
With git-lfs sources, when a multipipeline job is triggered by a PR, it attempts to merge git-lfs files even though they are unchanged, and the PR build fails. The lfs files in question are .png, and are never modified.
The only workaround has been to set the job to build only the current pull request revision, which means that the PR will not be built against any valid changes made to the main branch while the PR is in development. That's not ideal.
---
Originally reported by sefeldman, imported from: Setting the strategy for discovery to "Merging the PR with the current target branch revision" with git-lfs sources fails.
Raw content of original issue
With git-lfs sources, when a multipipeline job is triggered by a PR, it attempts to merge git-lfs files even though they are unchanged, and the PR build fails. The lfs files in question are .png, and are never modified.
The only workaround has been to set the job to build only the current pull request revision, which means that the PR will not be built against any valid changes made to the main branch while the PR is in development. That's not ideal.
Contributor guide
Assessment
This issue has not been assessed yet.