code: def add_build(
      self,
      project_id,
      build_id,
      build_hash,
      abbrev_hash,
      author_name,
      author_mail,
      subject,
      url=None,
      override=False,
  ):
      build_data = {
          "projectId": project_id,
          "build": {
              "buildId": build_id,
              "infos": {
                  "hash": build_hash,
                  "abbrevHash": abbrev_hash,
                  "authorName": author_name,
                  "authorEmail": author_mail,
                  "subject": subject,
                  "url": url,
              },
          },
          "override": override,
      }
      request_url = "http://%s/apis/addBuild" % self._domain
      succ = self.post_data(request_url, build_data)
      if succ:
          print("Add a build id, build_data: %s" % build_data)
      else:
          print("Add build id failed. build_data: %s" % build_data)
      return succ
  
file_path: mace/tools/dana/dana_cli.py
imports: import fcntl
  import json
  import os
label_desc: Use image node_id 4 for calling the DanaCli obj's underlying member method code with example usage: obj.add_build(project_id, build_id, build_hash, abbrev_hash, author_name, author_mail, subject, url, override) and returns: succ