This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Jenkins.instance.slaves.each { | |
agent -> | |
println("${agent.name} ${agent.computer.getSystemProperties()["sun.java.command"]}") | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
terraform providers mirror provider_mirror | |
cd provider_mirror/registry.terraform.io/grafana/grafana/ | |
cp <custom binary> terraform-provider-grafana_v1.7.0 | |
zip -r terraform-provider-grafana_1.7.0_darwin_amd64.zip terraform-provider-grafana_v1.7.0 | |
sha256sum terraform-provider-grafana_1.7.0_darwin_amd64.zip | |
# Convert hex to base64 on https://base64.guru/converter/encode/hex | |
# Replace hash in <version>.json | |
cd - | |
rm .terraform.lock.hcl | |
terraform providers lock -fs-mirror=provider_mirror |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<powershell> | |
# Version and download URL | |
$openSSHVersion = "7.6.1.0p1-Beta" | |
$openSSHURL = "https://github.com/PowerShell/Win32-OpenSSH/releases/download/v$openSSHVersion/OpenSSH-Win64.zip" | |
Set-ExecutionPolicy Unrestricted | |
# GitHub became TLS 1.2 only on Feb 22, 2018 | |
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12; |