1 String cron_string = BRANCH_NAME == "trunk" ? "10 3 * * *" : ""
6 kubernetes agentsetup(containers: 'java8')
9 disableConcurrentBuilds()
11 triggers { cron(cron_string) }
18 rm -rf ~/.m2/repository/org/wamblee
22 for sitexml in $( find . -name site.xml )
24 dir=$( dirname $sitexml )
30 echo "Building site for $dir"
32 mvn -N -Ddistrib=/data/www/http.utils.wamblee.org/ site site:deploy
39 rsync -a --delete target/site/apidocs/ /data/www/http.wamblee.org/apidocs/
41 cp src/site/index.html /data/www/http.utils.wamblee.org/
49 junit '**/surefire-reports/*.xml'
50 cobertura coberturaReportFile: '**/target/site/cobertura/coverage.xml'