scorpioL
V2EX  ›  问与答

jenkins 使用 shell 远程重启 tomcat 失败

  •  
  •   scorpioL · Jan 15, 2019 · 1943 views
    This topic created in 2679 days ago, the information mentioned may be changed or developed.

    编写了 shell 脚本重启 tomcat,脚本在 linux 里运行没问题,使用 jenkins 远程就报错,网上说 jenkins 会在脚本结束后关闭相关子进程,但我试过了网上说的改 BUILD_ID、java -jar 后加参数等等方法,都没有奏效,目前仍然是脚本结束后就把 tomcat 给关闭了,求解决方法。。。

    1 replies    2019-01-15 16:48:40 +08:00
    sm4llbl4ck
        1
    sm4llbl4ck  
       Jan 15, 2019 via iPhone
    用 publish over ssh 插件
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   887 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 33ms · UTC 22:31 · PVG 06:31 · LAX 15:31 · JFK 18:31
    ♥ Do have faith in what you're doing.