我已經在Jenkins中爲bitbucket設置了一些憑據,並且雙重檢查了憑證設置(例如,手動登錄),但是當我在Jenkins中嘗試它時,它只是永遠旋轉並給出此輸出:詹金斯 - 使用GIT_ASKPASS設置憑據
> git config remote.origin.url <bitbucket url> # timeout=10
Fetching upstream changes from <bitbucket url>
> git --version # timeout=10
using GIT_ASKPASS to set credentials <bitbucket account email> Bitbucket
> git fetch --tags --progress <bitbucket url> +refs/heads/*:refs/remotes/origin/*
> git fetch --tags --progress <bitbucket url> +refs/heads/*:refs/remotes/origin/*
請注意,URL在公開時很好。但是當設置爲私有時,它只會失敗,沒有輸出。
反正有沒有更詳細的調試呢?
沒錯,這裏是如何做到這一點的設置混帳路徑: '混帳配置--system --unset credential.helper 'More info:http://stackoverflow.com/questions/37182847/how-to-disable-git-credential-manager-for-windows –
@benButzer你真棒! –
圖例@BenButzer !! – Rocklan