A
A
Alex_F1522021-08-23 23:06:35
Java
Alex_F152, 2021-08-23 23:06:35

How to set up non-stop java maven application in Jenkins?

Hello! New to this topic. Installed jenkins on my server. Created a maven project. I need to keep the application running all the time. But as soon as I run it in jenkins, it just builds, giving build success and exits. How easy is it to set up this application in jenkins so that it just starts and runs without stopping?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
B
BorLaze, 2021-08-23
@Alex_F152

New to this topic.

This is noticeable :-)
Because the task of CI / CD (in particular, the same jenkins) is precisely to
  • on a trigger (for example, a commit to the master) run the build
  • compile application, run tests
  • if successful, deploy the built version to the server

And the application should work on the server - Jenkins has absolutely nothing to do with it.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question