Update documentation links

This commit is contained in:
Claudiu Guiman 2016-11-30 13:15:54 -08:00
parent a683c6ef62
commit 38cc335d46
3 changed files with 6 additions and 4 deletions

View File

@ -17,6 +17,8 @@ Register and authorize your client application.
Retrieve and use Client ID and Client Secret to be sent to Azure AD during authentication.
Refer to
* [Bash Script for creating a service principal](https://github.com/Azure/azure-devops-utils/blob/master/bash/create-service-principal.sh)
* [Further guidance on creating a service principal](https://github.com/Azure/azure-devops-utils#user-content-create-service-principal)
* [Adding, Updating, and Removing an Application](https://msdn.microsoft.com/en-us/library/azure/dn132599.aspx)
* [Register a client app](https://msdn.microsoft.com/en-us/dn877542.asp)
@ -155,14 +157,14 @@ Refer to
2. If the Jenkins master does not have a security configuration, leave the Init script blank for the default
script to execute on the agent.
3. If the Jenkins master has a security configuration, then refer to the script at
https://gist.github.com/snallami/5aa9ea2c57836a3b3635 and modify the script with the proper
https://raw.githubusercontent.com/Azure/azure-devops-utils/master/powershell/Jenkins-Windows-Init-Script.ps1 and modify the script with the proper
Jenkins credentials.
At a minimum, the script needs to be modified with the Jenkins user name and API token.
To get the API token, click on your username --> configure --> show api token<br>
The below statement in the script needs to be modified:
$credentails="username:apitoken"
$credentials="username:apitoken"
## Create a Jenkins job that runs on a Linux agent node on Azure
1. In the Jenkins dashboard, click New Item/Job.

View File

@ -1,7 +1,7 @@
<div>
The Service Principal credentials required to connect to your Azure account.
<br />
More information can be found here: <a target="_blank" href="https://azure.microsoft.com/en-us/documentation/articles/resource-group-authenticate-service-principal">https://azure.microsoft.com/en-us/documentation/articles/resource-group-authenticate-service-principal</a>
More information can be found here: <a target="_blank" href="https://github.com/Azure/azure-devops-utils#user-content-create-service-principal">https://github.com/Azure/azure-devops-utils#user-content-create-service-principal</a>
<br />
If you want to add an Azure credential click "Add" and select "Microsoft Azure VM Agents" from the Kind drop-down.
<br/ >

View File

@ -12,7 +12,7 @@ Below are examples of initialization scripts: </br></br>
&nbsp;&nbsp;&nbsp;&nbsp;sudo apt-get install -y openjdk-7-jdk</br></br>
2) <b>Windows w/JNLP</b></br>
For Windows agents with JNLP launch, this script is a powershell script.</br>
You can use this <a target="_blank" href="https://gist.githubusercontent.com/snallami/5aa9ea2c57836a3b3635/raw/68551fc60df4b05546f9b86d6fd05903bceed0c2/Windows%2520Slaves%2520setup">sample</a> (update "username:apitoken" with your credentials)<br />
You can use this <a target="_blank" href="https://raw.githubusercontent.com/Azure/azure-devops-utils/master/powershell/Jenkins-Windows-Init-Script.ps1">sample</a> (update "username:apitoken" with your credentials)<br />
Automatically passed to this script is:<br/>
First argument - Jenkins server URL<br/>
Second argument - VMName<br/>