Skip to content

Commit b8acd14

Browse files
authored
Merge pull request #24 from CIAT-DAPA/develop
added kill service
2 parents 3fa4bb1 + 32c132f commit b8acd14

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Jenkinsfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ pipeline {
3636
rm -rf env
3737
fi
3838
cd /var/www/waterpointsApi/api_WP
39-
sudo kill -9 $(sudo ss -nepal | grep 5001 | awk -F 'pid=|,fd=' '{print $2}' | awk -F '/' '{print $1}')
39+
sudo kill -9 "$(sudo ss -nepal | grep 5001 | awk -F 'pid=|,fd=' '{print $2}' | awk -F '/' '{print $1}')"
4040
curl -LOk https://github.com/CIAT-DAPA/lswms_webapi/releases/latest/download/releaseApi.zip
4141
unzip -o releaseApi.zip
4242
rm -fr releaseApi.zip

0 commit comments

Comments
 (0)