Respect the file type when deploying (previously only .war file
deployment was supported by RUN@cloud so the plugin incorrectly assumed
any file being deployed was a .war which caused issues deploying, e.g.
Play applications)
Known issues
CloudBees Internal Ticket: RM-1579
Promoted Builds plugin only allows selection for deployment from
workspace