Execution failed for task ':app:mergeDebugResources' when building project on Jenkins
Run following commands from your jenkins terminal.
gradlew clean gradle assembleDebug
If above command does not work, then delete gradle folder.
rm -rf C:\Windows\System32\config\systemprofile\.gradle
and then build using command
gradle assembleDebug