Skip to content

Instantly share code, notes, and snippets.

View gdegani's full-sized avatar

Giancarlo Degani gdegani

View GitHub Profile
@gdegani
gdegani / Jenkinsfile
Created November 21, 2019 23:57 — 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') {