I would like to configure CI with Visual Studio Online. Hooking up with self hosted service I get:
2017-07-25T16:00:36.4387217Z ##[command]git remote add origin http://git.hussars.co:7990/scm/ed/edustudio.git
2017-07-25T16:00:36.4737228Z ##[command]git config gc.auto 0
2017-07-25T16:00:36.5067239Z ##[command]git config --get-all http.http://git.hussars.co:7990/scm/ed/edustudio.git.extraheader
2017-07-25T16:00:36.5387237Z ##[command]git config --get-all http.proxy
2017-07-25T16:00:36.5717255Z ##[command]git remote set-url origin http://********@git.hussars.co:7990/scm/ed/edustudio.git
2017-07-25T16:00:36.6057258Z ##[command]git remote set-url --push origin http://********@git.hussars.co:7990/scm/ed/edustudio.git
2017-07-25T16:00:36.6447275Z ##[command]git fetch --tags --prune --progress origin
2017-07-25T16:00:37.0122318Z fatal: could not read Password for 'http://********@git.hussars.co:7990': terminal prompts disabled
2017-07-25T16:00:37.0674188Z ##[error]Git fetch failed with exit code: 128
2017-07-25T16:00:37.0712501Z ##[section]Finishing: Get Sources
How can I enable terminal prompts?
The issue you're running into is originating from Visual Studio. You'll want to take a look at the articles VisualStudio error: terminal prompts disabled, Git push requires username and password and Attempting push on git and receiving “could not read Username for 'https://github.com': terminal prompts disabled:”
Solution: Open the command line, navigate to the folder and git push origin master. We can find there will be a prompt to ask you to input the github username and password. Just do it!
In additon, the second article provides a more permanent solution using a password:
As per my Comment. You can include your username in the remote URL (similar to FTP).
Example without password (SSH):
git remote set-url origin firstname.lastname@example.org:username/repo.git
Example with password (https)
Once you follow the steps in the linked articles you should be set!
We’ve been building a plugin to integrate Bitbucket Server and Jenkins CI, and I’m excited to announce that our alpha is ready to download and install. It lets you seamlessly configure a Jenkins job ...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events