Revise curl example for inbound agent (#7142)

Signed-off-by: JJ Asghar <awesome@ibm.com>
This commit is contained in:
JJ Asghar 2022-09-23 10:13:12 -05:00 committed by GitHub
parent 39a48a4833
commit 7cb5eb78c0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 0 deletions

View File

@ -57,6 +57,9 @@ curl -sO ${jenkinsURL}jnlpJars/agent.jar
java -jar <a href="${rootURL}/jnlpJars/agent.jar">agent.jar</a> -jnlpUrl ${jenkinsURL}${it.url}jenkins-agent.jnlp -secret @secret-file ${it.launcher.getWorkDirOptions(it)}</pre>
</j:otherwise>
</j:choose>
<p>
${%Note: PowerShell users must use curl.exe instead of curl because curl is a default PowerShell cmdlet alias for Invoke-WebRequest.}
</p>
</j:if>
</j:when>
<j:otherwise>