You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
Repository navigation
This repository was archived by the owner on Mar 18, 2024. It is now read-only.
Unpackaged metadata not provided to sfdx build in newest sfpowerscripts version #1202
Describe the bug
Newest sfpowerscripts version gives the following error upon Orchestrator Build: Un-packaged metadata directory unpackagedMetadata was specified but does not exist. I see that support of this option was added as a result of this issue.
To Reproduce
Steps to reproduce the behavior:
Create an Unlocked Package, test-package, under the src directory and add it to the sfdx-project.json and include an Account field, testField__c
Add another directory, src/unpackaged, and add another Account field, testField2__c
Create a new version of test-package using sfdx sfpowerscripts:orchestrator:build -v devhub --branch master --diffcheck --buildnumber $(Build.BuildId) -f config/project-scratch-def.json & the latest version of sfpowerscripts using container: ghcr.io/dxatscale/sfpowerscripts:latest
Expected behavior
A new package version is successfully created
Actual behavior
sfdx throws the following error: Un-packaged metadata directory unpackagedMetadata was specified but does not exist.
Screenshots
Platform Details (please complete the following information):
OS: Linux
Version: Ubuntu Latest
Salesforce CLI(sfdx cli) Version:
sfpowerscripts: latest (20.2.11)
sfdx: 7.179.0
CI Platform: Azure DevOps
Additional context
If downgrading to sfpowerscripts version: 19.7.3 using container: ghcr.io/dxatscale/sfpowerscripts:19.7.3-3140166080 then the orchestrator:build works successfully as expected
Activity
azlam-abdulsalam commentedon Jan 24, 2023
Thanks @petter-eikeland for investigating this. Will address in Jan 23 release
fix(unlocked): fix regression on unpackagedMetadata on unlocked packages
azlam-abdulsalam commentedon Jan 25, 2023
ixed in Jan23