Skip to content

Instantly share code, notes, and snippets.

View chaitu6022's full-sized avatar

Krishna Chaitanya Kurnala chaitu6022

View GitHub Profile
@chaitu6022
chaitu6022 / complex-nested-view.dsl.groovy
Created October 29, 2015 20:45 — forked from kyounger/complex-nested-view.dsl.groovy
Jenkins Job DSL - example of nested view loop
def jobNames = [
'job1',
'job2',
'job3',
'job4'
]
def branches = [
'master',
'v1',
'v2',
#!/bin/bash
REPO="My-Job-Name"
TOKEN="token from jenkins"
JENKINSURL="http://login:password@jenkins.localhost/"
declare -A branches
while read oldrev newrew ref; do
if [ -z $ref ]; then