Salesforce: Support for SCM Package Directory
Source Repository tools (Bitbucket, Github and Gitlab) in Tool Registry now include a ‘Paths’ tab which specifies repository package path where components will be retrieved from during pipeline & tasks.
The metadata components can now be retrieved from user-specified package structure path, provided as a string in the SCM tool in ‘Paths’ tab:
Source Repository Tools Setup:
Path
The default ‘Path’ provided is “src”.
“./" will retrieve components from parent directory of repository.
If the Repository and Branch selected in Step Configuration do not contain the ‘Path’ specified and components are to be retrieved in the following scenarios, this will not work:
Pipeline
Salesforce Wizard - File Selection (Git Files) while retrieving/validating the list of components.
Salesforce Create Package XML pipeline step- While creating artifact.
Salesforce Backup pipeline step - While pushing the components to Git branch.
Salesforce Push Artifacts to Git pipeline step - While pushing the components to Git branch.
Tasks
Salesforce Org Sync - In Pipeline Wizard while extracting the components.
Salesforce Bulk Migration - In Pipeline Wizard while extracting the components.