summaryrefslogtreecommitdiffstats
path: root/jenkins-server-slave-setup/scripts/stop.jenkins.sh
diff options
context:
space:
mode:
authorSven Gothel <[email protected]>2011-07-24 05:29:32 +0200
committerSven Gothel <[email protected]>2011-07-24 05:29:32 +0200
commite806800ac0a3e0bc3b855d6a430428f1984eff28 (patch)
tree4e628b41e6a30f22e51c4d195a56407e1dd02f03 /jenkins-server-slave-setup/scripts/stop.jenkins.sh
parent477140f53cf387f09b1336630ed45bebad2b5ff8 (diff)
Add jenkins server slave setup docs/scripts
Diffstat (limited to 'jenkins-server-slave-setup/scripts/stop.jenkins.sh')
-rwxr-xr-xjenkins-server-slave-setup/scripts/stop.jenkins.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/jenkins-server-slave-setup/scripts/stop.jenkins.sh b/jenkins-server-slave-setup/scripts/stop.jenkins.sh
new file mode 100755
index 0000000..fbf8454
--- /dev/null
+++ b/jenkins-server-slave-setup/scripts/stop.jenkins.sh
@@ -0,0 +1,3 @@
+#!/bin/bash
+kill `ps -ef | grep jenkins.war | grep -v grep | awk '{ print $2 }'`
+