Forge probably want's the server file to have the same name as it would have, if had been downloaded with the Forge installer, which is the same name displayed on the website, on the download link. Try renaming it to that: 'minecraft_server.1.12.2.jar'