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