rmoh21
rmoh21

Reputation: 1525

Email commiter of a bad Perforce Changelist through Jenkins

How can I email the commiter of a broken change using a Perforce Changelist number in Jenkins?

Basically I have the CL available to me, but I cant quite figure out how to get the commiter name and other Perforce metadata info based off of that CL and then send out an email.

Upvotes: 1

Views: 715

Answers (1)

Ashish Jadhav
Ashish Jadhav

Reputation: 116

You should install "Email-ext" plugin for Jenkins. It allows you to send editable email notification for different build status. https://wiki.jenkins-ci.org/display/JENKINS/Email-ext+plugin As it captures the content token and P4 meta-data, you can configure (from "Advance" option in jenkins, after the plug-in is installed) whom (committer, requester, recipient list, culprit etc) do you want to send the notification.

Upvotes: 1

Related Questions