Skip to content

Instantly share code, notes, and snippets.

# Download and install cygwin and some packages
function Install-Cygwin {
param ( $TempCygDir="$env:USERPROFILE\Downloads\cygInstall" )
if(!(Test-Path -Path $TempCygDir -PathType Container))
{
$null = New-Item -Type Directory -Path $TempCygDir -Force
}
$client = new-object System.Net.WebClient
$client.DownloadFile("https://cygwin.com/setup-x86_64.exe", "$TempCygDir\setup.exe" )
# Comma-separated list of packages you want goes at the end
#!/bin/sh -x
## REST API JIRA KEY check
#List of projects that do not require strict JIRA KEY commits
#list in space and case-insensitive
NON_STRICT="sports"
# Authentication credentials
username=root