Merge pull request #72 from clguimanMSFT/help-strings

Update init script help text to include a link to a Windows sample
This commit is contained in:
Arjun Roy Chaudhuri 2016-11-28 11:25:46 -08:00 committed by GitHub
commit df5b446b74
1 changed files with 4 additions and 3 deletions

View File

@ -1,17 +1,18 @@
<div>
<b>At a minimum, the init script needs to install a Java runtime</b>.</br>
Custom prepared images are recommended if the initialization script is taking more than 20 minutes to execute.<br></br>
Below are examples of initialization scripts: </br></br>
1) <b>Ubuntu</b></br>
&nbsp;&nbsp;&nbsp;&nbsp;# Install Java</br>
&nbsp;&nbsp;&nbsp;&nbsp;sudo apt-get -y update</br>
&nbsp;&nbsp;&nbsp;&nbsp;sudo apt-get install -y openjdk-7-jdk</br>
&nbsp;&nbsp;&nbsp;&nbsp;sudo apt-get -y update --fix-missing</br>
&nbsp;&nbsp;&nbsp;&nbsp;sudo apt-get install -y openjdk-7-jdk</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 />
Automatically passed to this script is:<br/>
First argument - Jenkins server URL<br/>
Second argument - VMName<br/>