Skip to content
Advertisement

Deploying jar to unix server

Currently, in order to deploy my program to my ubuntu server, I have to do the following steps. 1. Compile the code using Gradle 2. Using FileZilla to move the jar to my server. 3. Connect to my server and find the process to kill it 4. restart the program.

I am curious if there are any alternatives to this that I can try myself. Such as some way to “deploy” my jar to the server and have it automatically restart the process.

Advertisement

Answer

You can try to use Jenkins for automatic deployment.

User contributions licensed under: CC BY-SA
10 People found this is helpful
Advertisement