-
Improvement
-
Resolution: Unresolved
-
Blocker
-
None
When scanning multi-branch projects in Jenkins, sparse streams are not detected when the Jenkinsfile was not changed within this stream.
'Jenkinsfile' not found
After changing the Jenkinsfile in the sparse stream, the branch is recognized by the multi-branch scan but only changed files are checked out during the build
Hi,
In sparse streams files are not synced by default. Only meta data is available. Please sync JenkinsFile manually and then try, it should work.
In 2024.2 we have also introduced the feature where some files in sparse streams can be downloaded by default. This should be available in later weeks of Nov 2024.
P4 plugin does checkout of files present in local path. If files are not present in local path (only meta data is present as in case of sparse streams), they will not be checkout.
p4karl