Jenkins: How to Enable a complex Jenkins Email Notifications Change Set Setup
<p>I am having difficulty setting up email notifications for a complex build process. Let me explain the build process and see if anyone has suggestions of how to implement this. </p>

<p>I have a single GIT repository, that has multiple applications that get built into their own binaries. I know this would be better to break it up but given the nature of the project that is not an option. </p>

<p>Something like this:</p>

<pre><code>-root
  -Apps
    -App 1
    -App 2 
</code></pre>

<p>**Results: ** App1.bin, App2.bin, etc.</p>

<p>Multiple teams contribute to this repository. I have 3 jenkins jobs.</p>

<ol>
<li><strong>Build 1 binary</strong> (Builds a single binary for deployment)</li>
<li><strong>Build multiple binaries</strong> (This is a wrapper and calls the first job to be able to build multiple binaries). </li>
<li><strong>Auto build</strong> (This job parses the change set in the repository and calls the build multiple binaries, with the apps to build. Reason for this, is if a SCM change occurs, I don't want to build all apps again in the repository. I want to only build the apps that changed.)</li>
</ol>

<p>What I want to do:</p>

<p>I want the <strong>Build 1 binary</strong> to send email notifications of the change set, just for that app that got built. </p>

<p>Example Email:</p>

<pre><code>Subject: App1 Successful build
Changes: App1/app1.source, App1/app1.properties
</code></pre>

<p>The problem is because <strong>Auto build</strong> picks up the change set from the GIT change, I don't have a way right now to find the change set in the build job. What I am thinking is parsing the change set, and passing them down the chain. Then I would just have to parse the individual file changes to send a notification for a single binary build.</p>

<p>Thoughts?</p>