when scripting SQL server agent jobs, is it possible to use @@servername in the @command settings line
Use the SQL Server Agent tokens when scripting the jobs something like

 /SERVER $(ESCAPE_NONE(SRVR))