1
0
Fork 0

fixed jeninkins version

To avoid upgrade to later version with mandatory CSRF enabled.
This did break the Phabricator integration in #163.
This commit is contained in:
Christian Kühnel 2020-04-20 21:52:07 +02:00
parent f4f6f5881c
commit b36a7733de
2 changed files with 6 additions and 2 deletions

View file

@ -0,0 +1,4 @@
FROM jenkins/jenkins:lts
# disable CSRF protection, otherwise Phabricator can't trigger builds
ENV JENKINS_OPTS "-D hudson.security.csrf.GlobalCrumbIssuerConfiguration.DISABLE_CSRF_PROTECTION=true"

View file

@ -70,7 +70,7 @@ spec:
hostname: jenkins-master
containers:
- name: master
image: jenkins/jenkins:lts
image: jenkins/jenkins:2.190.3
ports:
- containerPort: 8080
- containerPort: 50000
@ -192,4 +192,4 @@ spec:
secret:
secretName: github-ssh-key
nodeSelector:
cloud.google.com/gke-nodepool: jenkins-agents
cloud.google.com/gke-nodepool: jenkins-agents