早上好,
我正在尝试从ant调用jenkins-cli的create-job任务。我现在的问题是,蚂蚁不让我使用"<“字符。
下面是我尝试做的事情:jenkins-cli -s http://localhost:8080/ create-job < path/to/build.xml Dummy
有没有办法做到这一点?提前感谢!
发布于 2013-05-10 16:55:18
Ant构建文件是XML,因此您需要使用实体或转义序列。您需要的实体是<
Here's the other predefined XML entities。
https://stackoverflow.com/questions/16477923
复制相似问题