Commit 323e9b56 authored by root's avatar root
Browse files

Reordered 'Build' commands and echo if to trigger if the 'pkill' fails.

parent e647f2fb
Pipeline #171930 passed with stages
in 5 minutes and 15 seconds
......@@ -11,10 +11,10 @@ stages:
build-job:
stage: build
script:
- echo "Klling old running process."
- pkill -f $SH_PATH || echo "Failed to kill old process, or no such old process exists."
- echo "Build."
- mvn compile
- echo "Killing old running process."
- pkill -f $SH_PATH
test-job:
stage: test
......
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