code: @Override
      public void onCompleted(AbstractBuild<?, ?> build, TaskListener listener) {
          Map<String, String> envVars = returnEnvironmentVars(build, listener);
          if (envVars == null) {
              return;
          }
  
          try {
              returnGhprbSimpleStatus(envVars).onBuildComplete(build, listener, repo);
          } catch (GhprbCommitStatusException e) {
              e.printStackTrace();
          }
      }
docs: Sets the status to the build result when the job is done, and then calls the createCommitStatus method to send it to GitHub