fix jenkins option

This commit is contained in:
Oliver Chang 2017-07-26 10:57:06 -07:00
parent 10120c3243
commit 1f30f57714
2 changed files with 3 additions and 3 deletions

View File

@ -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

View File

@ -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