ControlTier > controltier-elements
 

runBuildScript

Command Reference

Description

runs the build script

Usage

ctl -t BitTorrentBuilder -o <objectname> -c runBuildScript [-basedir <>] [-buildfile <>] [-buildstamp <>] [-filebase <>] [-piecelength <>] [-port <>] [-target <>] [-targetdir <>] [-url <>]

Execution bash
Arguments mkdir -p ${opts.targetdir}; createtorrent -a ${opts.url} -p ${opts.port} -l ${opts.piecelength} --comment ${opts.basedir} ${opts.targetdir}/${opts.filebase}.torrent

Options

Option Description Type Default
basedir directory where build resources reside string
buildfile build file to execute string
buildstamp build identifier string
filebase torrent file name string ${entity.attribute.packageFilebase}
piecelength piece length to use for the tracker file string ${entity.attribute.pieceLength}
port tracker port to include in the torrent file string ${entity.attribute.trackerPort}
target build target to evaluate string
targetdir directory build artifacts will be written string
url tracker url to include in the torrent file string ${entity.attribute.trackerUrl}