This file contains 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
vault secrets enable -path=secret_storage kv | |
vault kv put secret_storage/test1 ke1="val1" | |
vault policy write jenkins policy.hcl | |
vault auth enable approle | |
vault write auth/approle/role/jenkins \ | |
secret_id_ttl=48h \ | |
token_num_uses=10 \ | |
token_ttl=96h \ |
This file contains 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
def AGENT_LABEL = null | |
node('master'){ | |
stage('pre'){ | |
AGENT_LABEL = env.SLOT | |
} | |
} | |
pipeline { | |
agent none |
This file contains 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
alias g='git' | |
alias gm="git merge" | |
alias grm='git rm' | |
alias gs='git status' | |
alias gss='git status -s' | |
alias gl='git pull' | |
alias ga='git add' | |
alias grh='git reset HEAD' | |
alias gp='git push' | |
alias gcount='git shortlog -sn' |
This file contains 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
# Compiled source # | |
################### | |
*.com | |
*.class | |
*.dll | |
*.exe | |
*.o | |
*.so | |
*.pyc | |
*.out |