top of page

WELCOME TO CLOUD MATTER

Search
  • Writer's pictureRoman Guoussev-Donskoi

Jenkins and Azure DevOps

Updated: Apr 20, 2019

To use the code from Azure Dev Ops in Jenkins Job


SSH:

this seems more reliable compared to https especially with if you in the environment with flaky http proxy


1. Generate prvate/public key-pair

$ ssh-keygen -t rsa


2. Add pubic key to account allowed access to Azure Devop Repository


3. Add content of the generated id_rsa*.pub file to Azure Dev Ops profile


4. add credentials to Jenkins


5. Configure SCM credentials in Jenkins job




HTTPS: (if you have to)

1. Use the following connection string:

https://dev.azure.com/{your_organization}/{you_project}/_git/{your_repo}

(not the syntax Azure DevOps provides for clone)


2. Then setup personal access token in https://dev.azure.com/{your_organization}/_usersSettings/tokens

3. Setup credentials in Jenkins using personal access token as a password


4. Now your job can leverage Azure DevOps as SCM






848 views0 comments

Recent Posts

See All

Comentários


Home: Blog2

Subscribe

Home: GetSubscribers_Widget

CONTACT

Your details were sent successfully!

Computers
Home: Contact
bottom of page