view scripts/pullall.groovy @ 247:ecae2b9a41d3

add code to stamp build number into build-number.txt lost in bamboo 5
author smith@nwoca.org
date Fri, 14 Jul 2017 18:21:46 +0100
parents f351338a3b3a
children
line wrap: on
line source

new File(".").eachDir { d ->

   if  ( new File(d,".hg").exists() ) {   
      println d.name
      
     println  "hg pull -R ${d.name} -u".execute().text
      
  }
}