Can jenkins transfer one or more files to a formal environment and then publish them?

status:
1: the project is relatively large, with hundreds of megabytes of war packages, and the formal environment is all remote servers, so it is not realistic to repackage and release complete war.
2: you can only replace the appropriate files on the formal environment, and then restart the release.

prepare:
1: files to be replaced, such as 2 A.class and B.class
2:jenkins have been configured with 4 formal environments (different ip addresses and different configuration data)

question:
can jenkins send A.class and B.class to the four formal environments that have been configured above, and then restart the release for these four formal environments?


war package publishing cannot be done. If you often have this requirement, it is recommended to consider the distribution of microservices


Jenkins can be responsible for compiling and packaging, calling scripts. You can use Ansible or scp to replace files on a remote server

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3297c-2be42.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3297c-2be42.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?