Commit cd388136 authored by Alex Constantin-Gomez's avatar Alex Constantin-Gomez
Browse files

[all] added fuser command to kill previous instance on vm

parent a12bcc14
Pipeline #172589 passed with stages
in 3 minutes and 39 seconds
......@@ -21,6 +21,7 @@ deploy:
variables:
PORT: 5000
script:
- fuser -k 5000/tcp
- mvn package
- sh target/bin/simplewebapp &> ~/server.log &
only:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment