简体   繁体   中英

Jenkins pipeline - how to start node.js app from one node and use it in different node?

I am writing a jenkinsfile and trying to start node.js app from node A and then use it from node B. I tried many ways, but in all of them - when i'm moving from node A to node B, the app is shutting down.. Any idea? Thanks in advance :)

are you nodes containers or pods?

if you're running Jenkins on kubernetes slaves ( https://github.com/jenkinsci/kubernetes-plugin ) the slaves ( pods ) will shutdown if not being used by Jenkins.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM