diff --git a/infra/jenkins-cluster/server/Dockerfile b/infra/jenkins-cluster/server/Dockerfile index 85125f817..8920a9f8b 100644 --- a/infra/jenkins-cluster/server/Dockerfile +++ b/infra/jenkins-cluster/server/Dockerfile @@ -16,5 +16,5 @@ RUN /google-cloud-sdk/bin/gcloud -q components update RUN chown -R jenkins:jenkins /google-cloud-sdk USER jenkins -ENV JENKINS_OPTS --httpPort=-1 --httpsPort=8080 --httpsCertificate=/var/secrets/cert.pem --httpsPrivateKey=/var/secrets/cert.key +ENV JENKINS_OPTS --httpPort=8080 --httpsPort=8082 --httpsCertificate=/var/secrets/cert.pem --httpsPrivateKey=/var/secrets/cert.key ENV PATH=$PATH:/google-cloud-sdk/bin diff --git a/infra/jenkins-cluster/service-jenkins-http.yaml b/infra/jenkins-cluster/service-jenkins-http.yaml index 815be7f14..ac07439c4 100644 --- a/infra/jenkins-cluster/service-jenkins-http.yaml +++ b/infra/jenkins-cluster/service-jenkins-http.yaml @@ -8,5 +8,5 @@ spec: app: jenkins-master ports: - port: 443 - targetPort: 8080 + targetPort: 8082 name: https diff --git a/infra/jenkins-cluster/service-jenkins-master.yaml b/infra/jenkins-cluster/service-jenkins-master.yaml index f4e524c33..a79d617df 100644 --- a/infra/jenkins-cluster/service-jenkins-master.yaml +++ b/infra/jenkins-cluster/service-jenkins-master.yaml @@ -12,4 +12,4 @@ spec: port: 50000 - name: https port: 443 - targetPort: 8080 + targetPort: 8082