2
關於對私有Jenkins實例執行HTTP調用(使用GitHub身份驗證),真的很奇怪。無法通過wget使用Jenkins API令牌
捲曲的工作原理:curl -u myuser:mytoken https://jenkins.example.com
或通過curl https://myser:[email protected]
做與wget的同樣不起作用,贈送: HTTP request sent, awaiting response... 403 Forbidden
注:wget --http-user=<user> --http-password=<token> <url>
是wget的替代語法,但兩種方法都給予同樣的結果:403.
的確,這確定了問題。現在我的問題是爲什麼這需要wget?我是否應該期望看到其他客戶也需要這樣的東西? – sorin
有沒有辦法配置詹金斯(在它前面的Nginx)以這種方式,這個額外的參數將不需要? – sorin
也提高它作爲錯誤https://issues.jenkins-ci.org/browse/JENKINS-37055 – sorin