WELCOME TO CLOUD MATTER

Search
  • Roman 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






120 views0 comments

Recent Posts

See All

Databricks is an amazing platform for data engineering, data science and machine learning. One of the critical requirements of secure data processing is data audit - the ability to identity what data

SAS access to storage account is very convenient and easy and while Microsoft recommends that you use Azure AD credentials when possible as security best practice still SAS sometimes hard to avoid. Le

 

Subscribe

 

CONTACT

Your details were sent successfully!

Computers