アプリケーション連携†
<Location /jenkins>
ProxyPass http://localhost:8080/jenkins
ProxyPassReverse http://localhost:8080/jenkins
</Location>
プラグイン†
プロジェクト†
src_path=/Users/foo/Sites
dst_archive=Sites_$BUILD_ID.zip
ditto -v -c -k --keepParent $src_path $dst_archive
find . -type f -name "Sites_*" -mtime +8 -exec rm -f {} \;
src_path=/Users/foo/svn
for svnrep in $src_path/*
do
if [ -f $svnrep/format ]; then
svnadmin dump $svnrep | gzip > svn_${svnrep##*/}_$BUILD_ID.svn.gz
else
echo ' -Not svn repository: '$svnrep
fi
done
find . -type f -name svn_*.svn.gz -mtime +7 -exec rm -f {} \;