Accenture / sfmc-devtools-copado

SFMC DevTools made easy using Copado Multi-Cloud's webinterface
MIT License
8 stars 2 forks source link

[BUG] Nothing to commit on deploy assets #255

Closed DannyCastroVentura closed 2 years ago

DannyCastroVentura commented 2 years ago

Current Behavior

On deploying, it says it has nothing to commit, and don't throw any error, so any person which sees that, would think that deploy did succed.

image

Result link: https://copadonull71743980.lightning.force.com/lightning/r/copado__Result__c/a0z09000003Fb4iAAC/view

Expected Behavior

Log
... 13:52:28 Retrieve components 13:52:28 =================== 13:52:28 DEBUG: replacing market values 13:52:28 typeKeyMap { 'asset-block': [ 'copado-text' ] } 13:52:28 typeArr [ 'asset-block' ] 13:52:28 13:52:28 info: mcdev:: Retrieve 13:52:28 13:52:28 info: 13:52:28 :: Retrieving Copado-MarkClDevOps/MCDEV_Training_Pre-Target 13:52:28 13:52:28 info: Caching dependent Metadata: folder 13:52:29 13:52:29 info: Retrieving: asset-block (Keys: copado-text) 13:52:29 13:52:29 info: - Retrieving Subtype: block 13:52:29 13:52:29 info: Downloaded asset-block: 0 13:52:29 13:52:29 info: Downloaded: asset (0) 13:52:29 13:52:29 info: :: Done 13:52:29 13:52:29 info: mcdev:: getFilesToCommit 13:52:29 fileArr [] 13:52:29 Add components in metadata JSON to Git history 13:52:29 =================== 13:52:29 Commit 13:52:29 =================== 13:52:29 DEBUG: Git diff ended with the result: 13:52:29 DEBUG: [] 13:52:29 ❌ Nothing to commit as all selected components have the same content as already exists in Git. 13:52:30 CopadoFunction INFO setting status 'Nothing to commit' error='Nothing to commit as all selected components have the same content as already exists in Git.' 13:52:30 ❌ git commit failed:Nothing to commit 13:52:31 CopadoFunction INFO setting status 'Error' error='git commit failed:Nothing to commit' 13:52:31 ⚠ Failed deploy verification, check BU on SFMC to verify manually. Git not updated with the changes on target BU: Nothing to commit ...

Additional comments

As we can see in the logs above, it is not downloading the files, and so, nothing to commit.

JoernBerkefeld commented 2 years ago

Duplicate of #242