-
Type:
Bug
-
Resolution: Incomplete
-
Priority:
Major
-
Component/s: oic-auth-plugin
-
None
Hello.
Â
I am using Jenkins LTS version with email-ext and oic-auth plugin and also p4 plugin for VCS.
Â
I have keycloak for OpenID auth, and here's oic-auth setting.


Â
The keypoint is Full name field.
I think user name field is for loginid and full name field is for name.
So when I set Full name field to "name".
I can see my name at top section of Jenkins.
Â
and then, I create a job for polling per change.
whenever change committed, this job will run and send email to developer using emailext plugin.
I use this pipeline syntax for this.
post {
always {
emailext (
recipientProviders: [developers()],
subject: "test",
body: "test"
)
}
}
At this point,
there was a log like
Warning: user Fistname Lastname@company.com has no permission to view job #1091, but sending mail anyway
Failed to create e-mail address for Firstname
Â
I think emailext plugin use fullname, not email and username field in oic-auth plugin.
Â
So I set preferred_username for full name in the upper capture.
Â