In our application we use Static Resources to store CSV files that contain record definitions. We have a CSV parser in Apex which usually works fine and correctly reads and upserts records when we need it.
Lately, we're having an issue wherein the parser fails to read the CSV. It simply does not read the newline characters, as if they are missing, so that seems that the CSV appears to the parser as a long single text line.
The problem seems to be related to the OS of the machine from which the Static Resources are deployed to server, as it has been observed only from Windows-deployed resources.
As we use a Jenkins CI setup (unfortunately) hosted on a Windows machine to handle our development flow, it would be great if anybody around knows any trick that could avoid us to have to deploy those Static Resources manually every time.
(The issue has been observed with both MavensMate/MetadataAPI and Jenkins/ANT)
Many thanks!