blob: a5f3a786c87f6afae8c4141f8c4c51ac53d0ac0a [file] [log] [blame]
#!/bin/bash
set -eux
sudo launchctl unload /Library/LaunchDaemons/jenkins.plist
cd /Users/ci
sudo rm -rf /var/tmp/_bazel_ci workspace android-ndk-* android-sdk-* node jenkins.slave.*.log slave.jar
curl https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/mac/mac-android.sh | bash
curl https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/mac/mac-nodejs.sh | bash
curl -o slave.jar http://master.ci.bazel.io/jnlpJars/slave.jar
curl https://raw.githubusercontent.com/bazelbuild/continuous-integration/master/mac/mac-service.sh | bash