Skip to content

Instantly share code, notes, and snippets.

@goyalmohit
Last active April 16, 2017 09:18
Show Gist options
  • Select an option

  • Save goyalmohit/adc579b086894c9855718e4d6902b6b4 to your computer and use it in GitHub Desktop.

Select an option

Save goyalmohit/adc579b086894c9855718e4d6902b6b4 to your computer and use it in GitHub Desktop.
# Configures execution policy to remotesigned
if($(Get-ExecutionPolicy) -ne "RemoteSigned"){
Set-ExecutionPolicy RemoteSigned -Confirm:$false
}
# Installs chocolatey package manager
iwr https://chocolatey.org/install.ps1 -UseBasicParsing | iex
# Installs JDK8 using chocolatey
choco install jdk8 -y
# Installs jenkins ci using chocolatey
choco install jenkins -y
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment