After updating firebase-functions to 4.0.0 or 4.0.1, trying to deploy my functions with the firebase CLI is success.
But with de pipeline, firebase-deploy version 2.0.0 it seems is not detecting my functions folder and return me an error saying me that non-interactive is not able to delete my functions (and a list of all my functions).
Reverting the update from firebase-functions 4.0.1 to the last 3.x version, is it working again without any issues.