Skip to content

Instantly share code, notes, and snippets.

View auth-day's full-sized avatar
🙃
yum yum yum

Dmitry B auth-day

🙃
yum yum yum
  • Russia saint petersburg
View GitHub Profile
@auth-day
auth-day / Jenkinsfile
Created November 6, 2018 15:36 — forked from oifland/Jenkinsfile
Loops in Jenkinsfiles
// Related to https://issues.jenkins-ci.org/browse/JENKINS-26481
abcs = ['a', 'b', 'c']
node('master') {
stage('Test 1: loop of echo statements') {
echo_all(abcs)
}
stage('Test 2: loop of sh commands') {
# Install https://www.vaultproject.io/
brew install vault
# Start dev vault server in a separate terminal
vault server -dev
# ==> Vault server configuration:
# ...
# Unseal Key: 7ACQHhLZY5ivzNzhMruX9kSa+VXCah3y87hl3dPSWFk=
# Root Token: 858a6658-682e-345a-e4c4-a6e14e6f7853