Set the number of executors on mac to 1
The mac slaves are actually slower that all the other slaves, just don't
run several parallel jobs on them.
Also remove --local_test_jobs, since now we use all the machine.
Change-Id: I17fcd616be7053290c902bfdebebe7bbb7af7341
diff --git a/jenkins/BUILD b/jenkins/BUILD
index e3c9154..e557778 100644
--- a/jenkins/BUILD
+++ b/jenkins/BUILD
@@ -63,9 +63,7 @@
jenkins_nodes(
DARWIN_PREFIX,
DARWIN_COUNT,
- prod_args = {
- "num_executors": 2,
- },
+ num_executors = 1,
remote_fs = "/Users/ci",
)
diff --git a/jenkins/build_defs/github-jobs.sh.tpl b/jenkins/build_defs/github-jobs.sh.tpl
index 9f1bc16..4ca6ae2 100644
--- a/jenkins/build_defs/github-jobs.sh.tpl
+++ b/jenkins/build_defs/github-jobs.sh.tpl
@@ -37,12 +37,6 @@
echo "build --build_tag_filters ${BUILD_TAG_FILTERS}" >> ${ROOT}/bazel.bazelrc
fi
-if [[ "${PLATFORM_NAME}" =~ .*darwin.* ]]; then
- cat >>${ROOT}/bazel.bazelrc <<EOF
-test --local_test_jobs=3
-EOF
-fi
-
if [[ "${PLATFORM_NAME}" =~ .*darwin.* ]] && \
xcodebuild -showsdks 2> /dev/null | grep -q '\-sdk iphonesimulator'; then
cat >>${ROOT}/bazel.bazelrc <<EOF