Jenkins管道中的curl错误-找不到URL



sh'''curl-X POST-H"内容类型:application/json&quot-d"{"名称":""$GroupName""","可删除":"true"}"https://"${username}":"{密码}"@bitbucket.com/rest/api/1.0/admin/groups?name="$GroupName">

我使用。上面的詹金斯管道。执行时出现错误curl:未指定URL!curl:尝试"curl-help"或"curl-manual"了解更多信息

刚刚计算出

这是Jenkins对BB.中创建组的API调用

sh"卷曲-X POST-H";内容类型:application/json&quot-d'{"name":"'"GroupName"&";,"可删除":"真";}"https://"${username}":"{密码}"@bitbucket.com/rest//api//1.0//admin//groups?name=$GroupName"}

替换您的比特桶URL。

最新更新