title: How can I rename Jenkins' pull request builder's "status check" display name on GitHub
body: <p>We have a project on <strong>GitHub</strong> which has two <strong>Jenkins Multibranch Pipeline</strong> jobs - one <strong>builds</strong> the project and the other runs <strong>tests</strong>. The only difference between these two pipelines is that they have different <strong>JenkinsFiles</strong>.</p>
  
  <p>I have two problems that I suspect are related to one another:</p>
  
  <ol>
  <li>In the GitHub status check section I only see one check with the following title: 
  <code>continuous-integration/jenkins/pr-merge — This commit looks good</code>,
  which directs me to the <strong>test</strong> Jenkins pipeline. This means that our <strong>build</strong> pipeline is not being picked up by GitHub even though it is visible on Jenkins. I suspect this is because both the checks have the same name (i.e. <code>continuous-integration/jenkins/pr-merge</code>).</li>
  <li>I have not been able to figure out how to rename the status check message for each Jenkins job (i.e. <strong>test</strong> and <strong>build</strong>). I've been through <a href="https://stackoverflow.com/questions/30352818/jenkins-github-pull-request-builder-display-name">this</a> similar question, but its solution wasn't applicable to us as <strong>Build Triggers</strong> aren't available in <strong>Multibranch Pipelines</strong></li>
  </ol>
  
  <p>If anyone knows how to change this message on a per-job basis for <em>Jenkins Multibranch Pipelines</em> that'd be super helpful. Thanks!</p>
  
  <p><em>Edit (just some more info):</em></p>
  
  <p>We've setup GitHub/Jenkins webhooks on the repository and builds do get started for both our <strong>build</strong> and <strong>test</strong> jobs, it's just that the status check/message doesn't get displayed on GitHub for both (only for <strong>test</strong> it seems).
  Here is our JenkinsFile for for the <strong>build</strong> job:</p>
  
  <pre><code>#!/usr/bin/env groovy 
  properties([[$class: 'BuildConfigProjectProperty', name: '', namespace: '', resourceVersion: '', uid: ''], buildDiscarder(logRotator(artifactDaysToKeepStr: '', artifactNumToKeepStr: '', daysToKeepStr: '', numToKeepStr: '5')), [$class: 'ScannerJobProperty', doNotScan: false]])
  node {
      stage('Initialize') {
          echo 'Initializing...'
          def node = tool name: 'node-lts', type: 'jenkins.plugins.nodejs.tools.NodeJSInstallation'
          env.PATH = "${node}/bin:${env.PATH}"
      }
  
      stage('Checkout') {
          echo 'Getting out source code...'
          checkout scm
      }
  
      stage('Install Dependencies') {
          echo 'Retrieving tooling versions...'
          sh 'node --version'
          sh 'npm --version'
          sh 'yarn --version'
          echo 'Installing node dependencies...'
          sh 'yarn install'
      }
  
      stage('Build') {
          echo 'Running build...'
          sh 'npm run build'
      }
  
      stage('Build Image and Deploy') {
          echo 'Building and deploying image across pods...'
          echo "This is the build number: ${env.BUILD_NUMBER}"
          // sh './build-openshift.sh'
      }
  
      stage('Upload to s3') {
          if(env.BRANCH_NAME == "master"){
              withAWS(region:'eu-west-1',credentials:'****') {
                  def identity=awsIdentity();
                  s3Upload(bucket:"****", workingDir:'build', includePathPattern:'**/*');
                  cfInvalidate(distribution:'EBAX8TMG6XHCK', paths:['/*']);
              }
          };
          if(env.BRANCH_NAME == "PRODUCTION"){
              withAWS(region:'eu-west-1',credentials:'****') {
                  def identity=awsIdentity();
                  s3Upload(bucket:"****", workingDir:'build', includePathPattern:'**/*');
                  cfInvalidate(distribution:'E6JRLLPORMHNH', paths:['/*']);
              }
          };
      }
  }
  </code></pre>