Erang opt 20.1 contains crypto-4.1 with openssl-1.0.2d. So I was using the same version set.
I used chocolatey.org to install depdencies
- Git
// description: Add new fingerprints of some host to ssh known hosts file | |
// why: sometimes you don't have access to Jenkins controller or agents | |
// but you need to update system configuration or some other OS specific stuff | |
// like in this case ~/.ssh/known_hosts file | |
// you can use groovy script console ${JENKINS_URL}/script | |
// @argument just output upcomming changes | |
def dryRun = true | |
// @argument FQDN name to retrive new ssh fingerprints |
#!/bin/bash | |
# TODO use custom-war-packager-cli | |
# e.g. java -jar ~/bin/custom-war-packager-cli.jar | |
jfr_tool="jenkinsfile-runner" | |
jfr_version="1.0-beta-32" | |
jfr_url="https://github.com/jenkinsci/${jfr_tool}/releases/download/${jfr_version}/${jfr_tool}-${jfr_version}.zip" | |
jpm_version="2.12.15" | |
jpm_url="https://github.com/jenkinsci/plugin-installation-manager-tool/releases/download/${jpm_version}/jenkins-plugin-manager-${jpm_version}.jar" | |
# check if jenkinsfile-runnner has been installed |
#!/bin/bash | |
# Jenkins-cli wrapper see. https://www.jenkins.io/doc/book/managing/cli/ | |
# | |
# .installation: | |
# curl -o ~/bin/jcli-wrapper <gist_url> | |
# chmod +x ~/bin/jcli-wrapper | |
# | |
# .usage: | |
# jcli-wrapper Jenins-URL file-with-credentilas | |
# |
alias ..='cd ..' | |
alias ll='ls -Al' | |
# tree | |
alias tree2='tree -L 2' | |
# git-related | |
# Typos | |
alias hui='git' | |
alias gti='git' |
git config --global alias.co checkout | |
git config --global alias.ci commit | |
git config --global alias.st status | |
git config --global alias.br branch | |
git config --global alias.cp cherry-pick | |
# Overwrite remote reference(s) | |
git config --global alias.pf "push --force" | |
# Fetch all remote repositories |