https://mega.nz/folder/dLIWkbCB#0MH4CBGlj0JUA6n00EbpDg
https://mega.nz/folder/oWAwAR5Y#WsyNfvNK_SkoFXS4WJKcTA
https://mega.nz/folder/RGBgHJIS#qOsdOXynX41S5TFOP0PqHg
More recent resolution: | |
1. cd ~/../../etc (go to etc folder in WSL). | |
2. echo "[network]" | sudo tee wsl.conf (Create wsl.conf file and add the first line). | |
3. echo "generateResolvConf = false" | sudo tee -a wsl.conf (Append wsl.conf the next line). | |
4. wsl --terminate Debian (Terminate WSL in Windows cmd, in case is Ubuntu not Debian). | |
5. cd ~/../../etc (go to etc folder in WSL). | |
6. sudo rm -Rf resolv.conf (Delete the resolv.conf file). | |
7. In windows cmd, ps or terminal with the vpn connected do: Get-NetIPInterface or ipconfig /all for get the dns primary and | |
secondary. |
#!/usr/bin/env bash | |
set -e | |
set -o pipefail | |
plugin_repo_url="http://updates.jenkins-ci.org/download/plugins" | |
plugin_dir="/var/lib/jenkins/plugins" | |
include_optionals=false | |
showUsage() { |
import jenkins.model.* | |
def matchedJobs = Jenkins.instance.items.findAll { job -> | |
job.name =~ /my_regex_here/ | |
} | |
matchedJobs.each { job -> | |
println job.name | |
//job.delete() | |
} |
#!/bin/bash | |
set -e | |
if [ $# -eq 0 ]; then | |
echo "USAGE: $0 plugin1 plugin2 ..." | |
exit 1 | |
fi | |
plugin_dir=/var/lib/jenkins/plugins |