This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
INSTALL_DIR=pimatic-test | |
PIMATIC_DIR=$INSTALL_DIR/node_modules/pimatic | |
mkdir ${INSTALL_DIR} | |
npm install pimatic-mobile-frontend@test --prefix ${INSTALL_DIR} | |
sed -i -e 's/"pimatic": "0\.9\.\*"//g' ${INSTALL_DIR}/node_modules/pimatic-mobile-frontend/package.json | |
npm install pimatic@test --prefix ${INSTALL_DIR} --production | |
sed -i -e 's/0\.9\.44-a/0.9.44/g' ${PIMATIC_DIR}/package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hudson.maven.MavenModuleSet | |
hudson.model.Hudson.instance.items.findAll { | |
job -> | |
!job.isBuilding() && job.isBuildable() && job instanceof MavenModuleSet | |
}.each { | |
job -> | |
def builds = job.builds.collect {it.getDisplayName()} | |
println("deleting modules for builds other than " + builds) | |
job.getModules().each { |