Revert "Fixed gradel retrieval of Jenkins build number"

This reverts commit fe354341257fa9c1a62581783842a2216d4fc855.
Revert