2019-04-12 14:10:50 +00:00
|
|
|
#!/bin/bash -e
|
|
|
|
|
2019-07-26 19:53:28 +00:00
|
|
|
RUN_JENKINS_SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
2019-04-12 14:10:50 +00:00
|
|
|
|
2019-07-26 19:53:28 +00:00
|
|
|
host_uname="$(uname)"
|
|
|
|
case "$host_uname" in
|
|
|
|
CYGWIN*)
|
|
|
|
$RUN_JENKINS_SCRIPT_DIR/run-jenkins-windows.sh
|
|
|
|
;;
|
|
|
|
Linux)
|
|
|
|
host_uname="$(uname -a)"
|
|
|
|
case "$host_uname" in
|
|
|
|
*Microsoft*)
|
|
|
|
$RUN_JENKINS_SCRIPT_DIR/run-jenkins-windows.sh
|
|
|
|
;;
|
|
|
|
*)
|
|
|
|
$RUN_JENKINS_SCRIPT_DIR/run-jenkins-linux.sh
|
|
|
|
;;
|
|
|
|
esac
|
|
|
|
;;
|
|
|
|
Darwin)
|
|
|
|
$RUN_JENKINS_SCRIPT_DIR/run-jenkins-osx.sh
|
|
|
|
;;
|
|
|
|
esac
|