Skip to content

Instantly share code, notes, and snippets.

View josefsalyer's full-sized avatar

Josef Salyer josefsalyer

  • 20:47 (UTC -04:00)
View GitHub Profile
@josefsalyer
josefsalyer / Jenkinsfile
Created February 22, 2022 15:33 — 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') {