diff --git a/infra/jenkins-cluster/deployment-jenkins.yaml b/infra/jenkins-cluster/deployment-jenkins.yaml index d068d957a..6ff526d8b 100644 --- a/infra/jenkins-cluster/deployment-jenkins.yaml +++ b/infra/jenkins-cluster/deployment-jenkins.yaml @@ -12,10 +12,10 @@ spec: spec: containers: - name: jenkins - image: gcr.io/oss-fuzz-base/jenkins:20170726v2 + image: gcr.io/oss-fuzz-base/jenkins:20170726v4 env: - name: JAVA_OPTS - value: "-Duser.timezone=America/Los_Angeles -Dhudson.security.csrf.requestfield=Jenkins-Crumb -Xmx16g" + value: "-Duser.timezone=America/Los_Angeles -Dhudson.security.csrf.requestfield=Jenkins-Crumb -Xmx16g -Djenkins.security.ApiTokenProperty.showTokenToAdmins=true" ports: - containerPort: 8080 - containerPort: 50000 diff --git a/infra/jenkins-cluster/server/Dockerfile b/infra/jenkins-cluster/server/Dockerfile index 983ff0804..c164a0c9a 100644 --- a/infra/jenkins-cluster/server/Dockerfile +++ b/infra/jenkins-cluster/server/Dockerfile @@ -15,5 +15,5 @@ RUN /google-cloud-sdk/bin/gcloud -q components update RUN chown -R jenkins:jenkins /google-cloud-sdk USER jenkins -ENV JENKINS_OPTS --httpPort=8080 --httpsPort=8082 --httpsCertificate=/var/secrets/cert.pem --httpsPrivateKey=/var/secrets/cert.key -Djenkins.security.ApiTokenProperty.showTokenToAdmins=true +ENV JENKINS_OPTS --httpPort=8080 --httpsPort=8082 --httpsCertificate=/var/secrets/cert.pem --httpsPrivateKey=/var/secrets/cert.key ENV PATH=$PATH:/google-cloud-sdk/bin