X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=vbuild-nightly.sh;h=7ee1aefc4cf517ccb7a3cda45e338622e56d70a6;hb=refs%2Fheads%2Fcoblitz;hp=3580c7e5e8f131d1281e1056fc87948cfe529186;hpb=d6d1b5a4748a76850b2e1bdf5adac005f9cb72d5;p=build.git diff --git a/vbuild-nightly.sh b/vbuild-nightly.sh index 3580c7e5..7ee1aefc 100755 --- a/vbuild-nightly.sh +++ b/vbuild-nightly.sh @@ -416,6 +416,7 @@ function usage () { echo " the -f/-d/-p/-m/-s/-t options are uneffective in this case" echo " -c testconfig - defaults to $DEFAULT_TESTCONFIG" echo " -y {pl,pg} - passed to run_log" + echo " -x - a hook to pass arguments to run_log" echo " -w webpath - defaults to $DEFAULT_WEBPATH" echo " -W testbuildurl - defaults to $DEFAULT_TESTBUILDURL; this is also used to get the hostname where to publish builds" echo " -r webroot - defaults to $DEFAULT_WEBROOT - the fs point where testbuildurl actually sits" @@ -450,7 +451,7 @@ function main () { SIGNYUMREPO="" OPTS_ORIG=$@ - OPTS=$(getopt -o "f:d:p:m:s:t:b:o:c:y:w:W:r:M:Yg:u:K:SBTnv7i:h" -l "build-branch:" -- $@) + OPTS=$(getopt -o "f:d:p:m:s:t:b:o:c:y:x:w:W:r:M:Yg:u:K:SBTnv7i:h" -l "build-branch:" -- $@) if [ $? != 0 ] then usage @@ -468,6 +469,7 @@ function main () { -o) OVERBASE=$2; shift 2 ;; -c) TESTCONFIG="$TESTCONFIG $2"; shift 2 ;; -y) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS -y $2"; shift 2 ;; + -x) RUN_LOG_EXTRAS="$RUN_LOG_EXTRAS $2"; shift 2;; -w) WEBPATH=$2; shift 2 ;; -W) TESTBUILDURL=$2; shift 2 ;; -r) WEBROOT=$2; shift 2 ;;