Closed DannyCastroVentura closed 2 years ago
root cause was that the improt file activity in our promotion / feature branch did not have a resolvable DE set. solution worked on in https://github.com/Accenture/sfmc-devtools/issues/479
closed via PR https://github.com/Accenture/sfmc-devtools/pull/480
Current Behavior
We can deploy importFile if we try to deploy it alone, but when we try to deploy it among other files it cannot do it.
On commit all went well, but when deploying the importFile file wasn't deployed to target as we can see in the log excerpt I put in this message
Results link: https://copadonull71743980.lightning.force.com/lightning/r/copado__Result__c/a0z09000003Fax1AAC/view
Errors in log ... 11:41:45 : ☇ skipping importFile copado-import / copado-import: Dependent dataExtension with CustomerKey='undefined' was not found on your BU ... 11:41:45 ❌ Deploy failed: Deployment of BU Copado-MarkClDevOps/MCDEV_Training_Pre-Target failed. Please check the SFMC DevTools logs for more details. 11:41:47 CopadoFunction INFO setting status 'Error' error='Deploy failed: Deployment of BU Copado-MarkClDevOps/MCDEV_Training_Pre-Target failed. Please check the SFMC DevTools logs for more details.' ... 11:41:56 CopadoFunction INFO setting status 'Attached mcdev logs' 11:41:56 /tmp/cf_function.sh:1081 11:41:56 throw new Error( 11:41:56 ^ 11:41:56 Error: Deployment of BU Copado-MarkClDevOps/MCDEV_Training_Pre-Target failed. Please check the SFMC DevTools logs for more details. 11:41:56 at Function.deployBU (/tmp/cf_function.sh:1081:19) 11:41:56 at async run (/tmp/cf_function.sh:250:13)
Showing which data were deployed in log 11:41:42 : Deploying: script 11:41:43 : - updated script: copado-script / copado-script 11:41:43 : script upsert: 0 of 0 created / 1 of 1 updated 11:41:43 : Deploying: dataExtension 11:41:43 : - Caching dependent Metadata: dataExtensionField 11:41:43 : - Please note that Data Retention Policies can only be set during creation, not during update. 11:41:44 : - updated dataExtension: Daniel Ventura / Daniel Ventura 11:41:44 : dataExtension upsert: 0 of 0 created / 1 of 1 updated 11:41:44 : Deploying: dataExtract 11:41:45 : - updated dataExtract: copado-extract / copado-extract 11:41:45 : dataExtract upsert: 0 of 0 created / 1 of 1 updated 11:41:45 : Deploying: fileTransfer 11:41:45 : - updated fileTransfer: copado-filetransfer / copado-filetransfer 11:41:45 : fileTransfer upsert: 0 of 0 created / 1 of 1 updated 11:41:45 : Deploying: importFile 11:41:45 : ☇ skipping importFile copado-import / copado-import: Dependent dataExtension with CustomerKey='undefined' was not found on your BU 11:41:45 : importFile upsert: 0 of 0 created / 0 of 1 updated 11:41:45 : Deploying: automation 11:41:45 : - updated automation: Barcelona Automation / Barcelona Automation 11:41:45 : automation upsert: 0 of 0 created / 1 of 1 updated 11:41:45 : - scheduled automation 'Barcelona Automation' deployed Paused