Skip to content

Instantly share code, notes, and snippets.

@DiegoRohr
Last active May 3, 2019 13:30
Show Gist options
  • Save DiegoRohr/fb8132ec966e9123397e60f7b53aaa9e to your computer and use it in GitHub Desktop.
Save DiegoRohr/fb8132ec966e9123397e60f7b53aaa9e to your computer and use it in GitHub Desktop.
Add Team Foundation Server - Visual Studio(TFSVS) Alternate Credential to Jenkins Credentials
Acesse o portal do TFSVS, clique em seu perfil no menu superior
#1)Opção Security > Alternate credentials :(veja Imagem ##1)
-Em UserName(secondary) digite um alias alternativo qualquer ou o mesmo UserName(primary)
-Defina uma senha alternativa
-Clique em Save
#2)No seu Jenkins(a exibição dos menus, depende de suas permissões de usuário):
-Acesse Credentials > System > Global credentials(veja Imagem ##2)
-Clique em Add Credentials:(veja Imagem ##3)
-Kind: Username with password
-Scope:Global
-UserName: alias configurado no Alternative Credential do TFSVS(Passo 1)
-Password: senha configurada no Alternative Credential do TFSVS(Passo 1)
-Id: em branco
-Description: opcional
-Clique em OK para salvar.
-Agora basta ir nos jobs do Jenkins e utilizar a credential para clones via Https
@DiegoRohr
Copy link
Author

DiegoRohr commented May 3, 2019

Imagem ##1

image

Iamgem ##2

image

Imagem ##3

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment