If your deployment strategy still evolves around ant deployment and not the new Salesforce CLI and you encounter this error on your deployment.
Failed to check the status for request ID=0Af0r00000ClbNgCAJ. Error: InfoNot a valid enumeration for type: class com.sforce.soap.metadata.DeployProblemType. Retrying…
While digging around, I found out this is a tool issue. Chances are your ant-salesforce jar library is outdated, you need to grab the latest salesforce-ant version from here
https://developer.salesforce.com/docs/atlas.en-us.daas.meta/daas/forcemigrationtool_install.htm
Update the library on your ant build path. Check your build.xml for the classPath if you are unsure of the path.
<taskdef resource="com/salesforce/antlib.xml" uri="antlib:com.salesforce">
<classpath>
<pathelement location="${basedir}/ant-salesforce.jar" />
</classpath>
</taskdef>