Jenkins - Change context on Set Build Status on GitHub Commit
<p>In a regular free style job, I would like to set the build status on every GitHub commit (pending, success, &amp; failure). This is really easy to do with the GitHub plugin. The only catch is that I want to change the context being sent to GitHub. By default, the plugin sends the full project name ('/folder/subfolder/job-name-foo') or the display name if configured in the advanced project properties. </p>

<p>I want the context to be 'continuous-integration/unit-tests' for my unit test jobs and 'continous-integration/style-checks' for the style check jobs. I can't change the display name in all of my jobs to those values because I would have a ton of conflicts. I have several hundred jobs. </p>

<p>I've found a merged PR that adds the functionality to set a custom context, but I can't figure out how to use it!! <a href="https://github.com/jenkinsci/github-plugin/pull/100" rel="nofollow">https://github.com/jenkinsci/github-plugin/pull/100</a></p>

<p>It uses the token macro plugin which I've never had to explicitly use <a href="https://wiki.jenkins-ci.org/display/JENKINS/Token+Macro+Plugin" rel="nofollow">https://wiki.jenkins-ci.org/display/JENKINS/Token+Macro+Plugin</a> but I understand how to use it. The problem is that I can't find the right <em>token</em> to overwrite the GitHub context. </p>

<p>So far I've tried: </p>

<p><code>
${displayName='Foo'}
${displayName,foo}
${displayName,var=foo}
foo
</code></p>

<p>I've tried about a dozen or more combinations. Anyone else set a custom context? </p>