The jenkins pod is run using serviceaccount "jenkins" now, not "default", so you need to add the permissions to system:serviceaccount:test:jenkins note that those permissions are automatically added to the jenkins service account for the project in which you created the jenkins server, so you only need to add them for project "test1" in your scenario. see: https://github.com/openshift/origin/blob/master/examples/jenkins/jenkins-ephemeral-template.json#L153-L175
updated cases, and verified when using system:serviceaccount:test:jenkins, thanks@Ben Parees
pls also update docs:https://github.com/openshift/origin/blob/master/examples/jenkins/README.md, it seems still using default ,thx
Sure, readme is updated here: https://github.com/openshift/origin/pull/10725 notice that i removed the step entirely as it is not necessary when using the new template since the new template creates the service account and adds the edit permission. For your scenario (accessing a secondary project) you'll still need to add the edit permission to the appropriate service account.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1933