k8s: Make Jenkins always run with verbose bash
It's often difficult to understand what is going on in Jenkins land when
communication to the debian pod fails. This should give us more
diagnostic information about what is happening during a job.
Change-Id: I2df01f69507fd3f79b035d5dc89af407eb11e0f1
diff --git a/k8s/mendel-linux.yaml b/k8s/mendel-linux.yaml
index 99ea95f..87d65db 100644
--- a/k8s/mendel-linux.yaml
+++ b/k8s/mendel-linux.yaml
@@ -5,6 +5,11 @@
name: mendel-linux
spec:
master:
+ containers:
+ - name: jenkins-master
+ env:
+ - name: JAVA_OPTS
+ value: -XX:+UnlockExperimentalVMOptions -XX:+UseCGroupMemoryLimitForHeap -XX:MaxRAMFraction=1 -Djenkins.install.runSetupWizard=false -Djava.awt.headless=true -Dorg.jenkinsci.plugins.durabletask.BourneShellScript.LAUNCH_DIAGNOSTICS=true
basePlugins:
- name: authentication-tokens
version: "1.4"