class TravisRestService {

  public void updateTreeNodes(List<TreeNode> treeNodes) throws Exception {
    if (treeNodes.size() == 0)
      return ;

    Build build = profContextDumpRepository.findOne(treeNodes.get(0).getProfId())
        .getBuild();

    logger.info("update about build id: {}", build.getId());

    jandyWorker.put(build.getTravisBuildId(), JandyTask.UPDATE, treeNodes);
  }

}