0% found this document useful (0 votes)
32 views1 page

Commands

The document provides instructions for installing Chocolatey on Windows, including setting execution policies and executing a script to complete the installation. It also details how to install Java 8 using Chocolatey and download the agent.jar file for Jenkins. Finally, it includes the command to run the agent.jar with specific parameters for connecting to a Jenkins server.

Uploaded by

saketh M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
32 views1 page

Commands

The document provides instructions for installing Chocolatey on Windows, including setting execution policies and executing a script to complete the installation. It also details how to install Java 8 using Chocolatey and download the agent.jar file for Jenkins. Finally, it includes the command to run the agent.jar with specific parameters for connecting to a Jenkins server.

Uploaded by

saketh M
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Install chocolatey on Windows

Link --> [Link]

1. Open powershell as administrator


2. Set-ExecutionPolicy Bypass -Scope Process -Force;
[[Link]]::SecurityProtocol =
[[Link]]::SecurityProtocol -bor 3072; iex ((New-
Object
[Link]).DownloadString('[Link]
))

Install Java8 using chocolatey

1. In powershell run the following command


2. choco install jdk8

Download [Link] (Run these commands in powershell)


$WebClient = New-Object [Link]

Makesure you have your jenkins IP in the following URL

$[Link]("[Link]
[Link]")

java -jar [Link] -jnlpUrl [Link]


slave/[Link] -secret
539d4411b6b8cc92d23037419966556a1f36ff442590581abf51311dcf096807 -workDir
"C:\jenkins"

You might also like