Automate Dynamics 365 solution deployment Fails

Copper Contributor

Hi ,

I'm following the below article to automate Dynamics 365 solution deployment

https://arpitmscrmhunt.blogspot.com/2020/11/automate-dynamics-365-power-platform.html#comment-form

 

However my pipeline run is failing at Command line script: Below is the code

 

echo commit all changes
git config user.email "Sharon543.Jason@xyz.com"
git config user.name "Sharon Jason"
git checkout main
git add --all
git commit -m "solution init"
echo push code to new repo
git -c http.extraheader="AUTHORIZATION: bearer $(System.AccessToken)" push origin main

 

Sharon0905_0-1627427646952.png

As per the screenshot it fails at the last line. 

 

Need suggestions please.

 

Thank you.

1 Reply

@Sharon0905 : Any suggestions please.