linkedin / linkedin-gradle-plugin-for-apache-hadoop

Apache License 2.0
117 stars 76 forks source link

Adjust cleanBuildOutput to more thoroughly clean output #214

Closed reallocf closed 6 years ago

reallocf commented 6 years ago

In LinkedIn build, the new triggerCheck test has two Download ... statements.

Because this was replaceFirst it only removed the first one, throwing an error for the second. This change should fix this and is more in line with the intent of the method (in my opinion).

Tested locally (manually injecting the Download ... statements) and it worked. Will try launching another build to confirm after this is merged.