search

Home  >  Q&A  >  body text

php - How to run jenkins in the background

I use java -jar jenkins.war --httpPort=9999 and it will automatically stop once I exit. Is there any way to make it run in the background?

高洛峰高洛峰2768 days ago567

reply all(2)I'll reply

  • 怪我咯

    怪我咯2017-06-10 09:49:46

    nohup java -jar jenkins.war --httpPort=9999 &

    或者java -jar jenkins.war --httpPort=9999 &

    reply
    0
  • PHP中文网

    PHP中文网2017-06-10 09:49:46

    nohup java -jar jenkins.war --httpPort=9999 &

    reply
    0
  • Cancelreply