我正在尝试使用令牌调用远程构建。它给了我401.根据我的理解,它不需要令牌。
Jigars-MacBook-Pro:portal jigarshah$
curl https://jigarshah:<TOKEN API>@jenkins-jigarshah.rhcloud.com/job/MyJob/build?token=<TOKEN>
<html><head><title>Error 401</title></head><body bgcolor="#ffffff"><h1>Status Code: 401</h1>Exception: Bad credentials<br>Stacktrace: (none)
<br><hr size="1" width="90%"><i>Generated by Winstone Servlet Engine v0.9.10 at Mon Apr 08 09:27:59 EDT 2013</i></body></html>
我在这里缺少什么?