我无法解决这个按位转换问题。 Robocopy exit codes不符合正常的0(成功),1(失败)模式,因此我想在下面的powershell脚本中包装我的robocopy调用,以使我的TeamCity构建配置失败或在robocopy终止时正确执行。 第一部分是使用tip from the net和($LastExitCode -band 24)解决的,它将8到16退出码正确对待为失败(1),其
ElasticSearch版本 - 2.4.0 日志: java.lang.IllegalArgumentException: The number of object passed must be even but was [1]
at org.elasticsearch.action.index.IndexRequest.source(IndexRequest.java:451)