code: public static AnyBuildResult onAnyResult(GHCommitState state, String msg) {
          AnyBuildResult cond = new AnyBuildResult();
          cond.setState(state.name());
          cond.setMessage(msg);
          return cond;
      }
docs: @param state state to set
  @param msg   message to set. Can contain env vars
  
  @return new instance of this conditional result